Finish the fucking diamond square entry already
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 25 Jun 2016 15:57:05 +0000 |
parents |
749ec5a03533 |
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 $@