forked from cibernox/ember-cpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 699 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
jshint_bin = ./node_modules/jshint/bin/jshint
testem_bin = ./node_modules/testem/testem.js
bower_bin = ./node_modules/bower/bin/bower
build: jshint
rm -rf dist && broccoli build dist
test-ci: ensure_phantomjs jshint
@$(testem_bin) ci -l phantomjs
test: ensure_phantomjs jshint $(bower_libs)
@$(testem_bin)
install_dependencies:
@npm install
@bower install
ensure_phantomjs:
@which phantomjs > /dev/null || (echo "Couldn't find phantomjs" && false)
jshint: $(jshint_bin)
@jshint Brocfile.js src/*.js spec/*Spec.js
@echo "JSHint OK"
pristine:
@rm -rf ./node_modules/
@rm -rf ./bower_components/
.PHONY: ensure_phantomjs install_dependencies test test-ci jshint pristine