Makefile 378 字节
Newer Older
D
David Graham 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
build: node_modules/ bower_components/

test: node_modules/ build lint
	node ./node_modules/.bin/node-qunit-phantomjs ./test/test.html

lint: node_modules/
	./node_modules/.bin/jshint *.js test/*.js

bower_components/: node_modules/
	./node_modules/.bin/bower install

node_modules/:
	npm install

clean:
	rm -rf ./bower_components ./node_modules

.PHONY: build clean lint test