cdaniels.net/bin/buildit -rwxr-xr-x 259 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

cd "$(dirname "$0")"
cd ..

rm -r dst/*
rm -r dst/.files
mkdir -p dst

bin/ssg3 src dst "The Blog of Charles Daniels" 'https://cdaniels.net'
bin/rssg src/index.md > dst/rss.xml

echo "built $(date) by user $(whoami) on $(hostname)" > dst/build.txt