Makefile 413 字节
Newer Older
D
David Graham 已提交
1 2 3
build: node_modules/ bower_components/

test: node_modules/ build lint
J
Joshua Peek 已提交
4
	./script/test
D
David Graham 已提交
5

J
Joshua Peek 已提交
6
saucelabs: build
J
Joshua Peek 已提交
7
	./script/saucelabs
J
Joshua Peek 已提交
8

J
Joshua Peek 已提交
9 10
travis: lint test saucelabs

D
David Graham 已提交
11 12 13 14 15 16 17 18 19 20 21 22
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

J
Joshua Peek 已提交
23
.PHONY: build clean lint test saucelabs travis