diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-05-19 12:41:48 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-05-19 12:41:48 +0100 |
| commit | 94ba65207cff8b016afa4ba8f378c7a542d28d7c (patch) | |
| tree | fd295870e1a3d6bcdf33157ff414059960b04f37 /buetow.org.sh | |
| parent | 286da6ae439ddedecbeed2ae5020674507af239c (diff) | |
md submodule
Diffstat (limited to 'buetow.org.sh')
| -rwxr-xr-x | buetow.org.sh | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/buetow.org.sh b/buetow.org.sh deleted file mode 100755 index 57535b99..00000000 --- a/buetow.org.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash -# -# The buetow.org.sh static site generator -# by Paul Buetow 2021 - -declare -r ARG="$1"; shift -declare DATE=date -declare SED=sed -declare GREP=grep -which gdate &>/dev/null && DATE=gdate -which gsed &>/dev/null && SED=gsed -which ggrep &>/dev/null && GREP=ggrep -readonly DATE -readonly SED -readonly GREP - -source buetow.org.conf -source ./packages/assert.source.sh -source ./packages/atomfeed.source.sh -source ./packages/gemfeed.source.sh -source ./packages/generate.source.sh -source ./packages/html.source.sh -source ./packages/log.source.sh -source ./packages/md.source.sh - -help () { - cat <<HELPHERE -$0's possible arguments: - --feed - --publish - --test - --help -HELPHERE -} - -main () { - local -r arg="$1"; shift - - case $ARG in - --test) - html::test - md::test - ;; - --feed) - gemfeed::generate - atomfeed::generate - ;; - --generate) - html::test - md::test - gemfeed::generate - atomfeed::generate - generate::fromgmi html md - ;; - --help|*) - help - ;; - esac - - return 0 -} - -main $ARG -exit $? |
