1 | #
|
2 | # Vars
|
3 | #
|
4 |
|
5 | BIN = ./node_modules/.bin
|
6 | .DEFAULT_GOAL := all
|
7 |
|
8 | #
|
9 | # Tasks
|
10 | #
|
11 |
|
12 | node_modules: package.json
|
13 | @npm install
|
14 | @touch node_modules
|
15 |
|
16 | test: node_modules
|
17 | ${BIN}/babel-tape-runner test/*.js
|
18 |
|
19 | validate: node_modules
|
20 | @${BIN}/standard
|
21 |
|
22 | all: validate test
|
23 |
|
24 | #
|
25 | # Phony
|
26 | #
|
27 |
|
28 | .PHONY: test validate |
\ | No newline at end of file |