-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
50 lines (38 loc) · 837 Bytes
/
Makefile
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
#
#
#
run:
node coffee_bridge.js
unit:
./node_modules/mocha/bin/_mocha \
--exit \
--require coffee-script/register \
./test/unit/**/*.coffee
integration:
./node_modules/mocha/bin/_mocha \
--exit \
--require coffee-script/register \
./test/integration/**/*.coffee
test:
$(MAKE) unit
$(MAKE) integration
$(MAKE) travis-cov
$(MAKE) lint
$(MAKE) check-dependencies || true #Can't always update deps. Allow build to pass.
compile:
./node_modules/coffee-script/bin/coffee -o bin -c lib/*.coffee
lint:
@./node_modules/coffeelint/bin/coffeelint \
./lib ./test
travis-cov:
@./node_modules/mocha/bin/_mocha \
--exit \
--require coffee-script/register \
--require blanket \
-R travis-cov \
./test/unit/*.coffee \
./test/integration/*.coffee
check-dependencies:
@./node_modules/david/bin/david.js
.PHONY: test