summaryrefslogtreecommitdiff
path: root/build.sh
blob: 69b6e6cb01aee2437871e82b5b3423989c5e83ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -eu

# Run as a cronjob on the FreeBSD server to update the 'now' feeds and rebuild.
# Yes, it would be easier to rsync from a system with better guile support.

# TODO actually install haunt

GUILE_LOAD_PATH="$HOME/src/guile-commonmark${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}"
export GUILE_LOAD_PATH

cd "$HOME/www-personal"

./update.sh

"$HOME/git/haunt/pre-inst-env" haunt build
exec "$HOME/git/haunt/pre-inst-env" haunt publish