Added workaround to force recompilation whenever the scripts are run
Getty Ritter
9 years ago
1 | 1 |
#!/bin/bash -e
|
2 | 2 |
|
3 | 3 |
mkdir -p output/{index,about,tags,tag,archive,posts}
|
| 4 |
touch ./generator/generate.scm
|
4 | 5 |
GEN='guile ./generator/generate.scm'
|
5 | 6 |
cp -r static output/static
|
6 | 7 |
${GEN} index posts/$(ls -t posts/ | head -n 1)
|