Skip to content

Commit

Permalink
build gh-pages index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
janl committed Feb 24, 2012
1 parent a9a7ee3 commit d4c4591
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -39,10 +39,14 @@ build-wrappers:
cp wrappers/mustache-$(version)/* $(version) cp wrappers/mustache-$(version)/* $(version)
# update gh-pages with release links & travis # update gh-pages with release links & travis
# TODO: add $(version)/index.html page (from template) # TODO: add $(version)/index.html page (from template)
# TODO: update index.html to point to $(vesion) # update index.html to point to $(vesion)
cat index.html.pre > index.html
for release in `ls -p | grep '/$'`; do echo "<li><a href="${release}/">${release}</a></li>"; done >> index.html
cat index.html.post >> index.html
git add $(version) git add $(version)
git commit -m 'Release $(version)' index.html $(version) git commit -m 'Release $(version)' index.html $(version)
git clean -fdx git clean -fdx
git checkout new-build-system
# update npm # update npm
# update cdnjs # update cdnjs


Expand Down

0 comments on commit d4c4591

Please sign in to comment.