gdritter repos when-computer / 252b9c7
Fix issue with gen script and static folder Getty Ritter 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Collapse all Expand all
11 #!/bin/bash -e
22
3 mkdir -p output/{index,about,tags,tag,archive,posts}
3 mkdir -p output/{index,about,tags,tag,archive,posts,static}
44 touch ./generator/generate.scm
55 GEN='guile ./generator/generate.scm'
6 cp -r static output/static
6 cp -r static/* output/static
77 ${GEN} index posts/$(ls -t posts/ | head -n 1)
88 ${GEN} about
99 ${GEN} tags