Proofread
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 28 Jun 2016 23:39:20 +0000 |
parents |
2d9281a1f7e7 |
children |
e7bc59b9ebda |
.PHONY: clean generate regen serve deploy
wisps := $(shell ffind --literal '.wisp')
javascripts := $(subst .wisp,.js,$(wisps))
bundles := $(subst /wisp/,/,$(javascripts))
generate: $(bundles)
hyde -g -s .
clean:
rm -rf ./deploy
serve:
hyde -w -s . -k
regen: clean generate
deploy: generate
rsync -avz ./deploy/ sl:/var/www/stevelosh.com
media/js/wisp/%.js: media/js/wisp/%.wisp
cat $< | wisp > $@
media/js/terrain1.js: $(javascripts)
browserify media/js/wisp/terrain1.js -do $@
media/js/terrain2.js: $(javascripts)
browserify media/js/wisp/terrain2.js -do $@
media/js/terrain3.js: $(javascripts)
browserify media/js/wisp/terrain3.js -do $@