threex
Version:
Game Extensions for three.js http://www.threejsgames.com/extensions/
12 lines (9 loc) • 384 B
Plain Text
# makefile to automatize simple operations
server:
python -m SimpleHTTPServer
#lighttpd -D -f lighttpd.conf
deploy:
# assume there is something to commit
# use "git diff --exit-code HEAD" to know if there is something to commit
# so two lines: one if no commit, one if something to commit
git commit -a -m "New deploy" && git push -f origin HEAD:gh-pages && git reset HEAD~