Clauses for gh-pages update

This commit is contained in:
Tony Garnock-Jones 2013-05-20 16:45:54 -04:00
parent 14be9caf2c
commit 4012f5a3a4
1 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,15 @@
all: out
pages:
git clone -b gh-pages ../.. pages
publish: out pages
cp -r out/marketplace/. pages/.
(cd pages; git add -A)
-(cd pages; git commit -m "Update $$(date +%Y%m%d%H%M%S)")
(cd pages; git push)
rm -rf pages
out:
raco scribble \
--htmls \
@ -10,4 +20,4 @@ out:
marketplace.scrbl
clean:
rm -rf out
rm -rf out