Add node_modules to .hgignore.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sun, 28 Feb 2016 11:52:32 +0000 |
parents |
e2b8f5dc9ae4 |
children |
749ec5a03533 |
.PHONY: all clean generate regen serve deploy
wisps := $(shell ffind --literal '.wisp')
javascripts := $(subst .wisp,.js,$(wisps))
all: media/js/terrain1.js
media/js/wisp/%.js: media/js/wisp/%.wisp
cat $< | wisp > $@
media/js/terrain1.js: $(javascripts)
browserify media/js/wisp/terrain1.js -o $@
clean:
rm -rf ./deploy
generate: all
hyde -g -s .
serve:
hyde -w -s . -k
regen: clean generate
deploy: generate
rsync -avz ./deploy/ sl:/var/www/stevelosh.com