eighty 0.2.0

Static website generator, mainly for the Core Paper project.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -euo pipefail
IFS=$'\n\t'

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

[ ! -d "$DIR/../sites/corepaper" ] && pushd $DIR/../sites && git clone https://github.com/corepaper/corepaper && popd
[ ! -d "$DIR/../sites/classic" ] && pushd $DIR/../sites && git clone https://github.com/munjero/classic && popd
[ ! -d "$DIR/../sites/wei" ] && pushd $DIR/../sites && git clone https://github.com/munjero/wei && popd
[ ! -d "$DIR/../sites/tifmuhezahi" ] && pushd $DIR/../sites && git clone https://github.com/munjero/tifmuhezahi && popd
[ ! -d "$DIR/../sites/multiverse" ] && pushd $DIR/../sites && git clone https://github.com/munjero/multiverse && popd

pushd $DIR/../sites/corepaper && git pull && popd
pushd $DIR/../sites/classic && git pull && popd
pushd $DIR/../sites/wei && git pull && popd
pushd $DIR/../sites/tifmuhezahi && git pull && popd
pushd $DIR/../sites/multiverse && git pull && popd