Fix issue with gen script and static folder
Getty Ritter
9 years ago
1 | 1 | #!/bin/bash -e |
2 | 2 | |
3 |
mkdir -p output/{index,about,tags,tag,archive,posts |
|
3 | mkdir -p output/{index,about,tags,tag,archive,posts,static} | |
4 | 4 | touch ./generator/generate.scm |
5 | 5 | GEN='guile ./generator/generate.scm' |
6 |
cp -r static |
|
6 | cp -r static/* output/static | |
7 | 7 | ${GEN} index posts/$(ls -t posts/ | head -n 1) |
8 | 8 | ${GEN} about |
9 | 9 | ${GEN} tags |