1 | SHELL = /bin/bash
|
2 | export PATH := ./node_modules/.bin/:${PATH}
|
3 |
|
4 | MAKEFLAGS += --no-print-directory --silent
|
5 |
|
6 | clean:
|
7 | rm -rf build/ \
|
8 | npm-debug.log
|
9 | lint:
|
10 | eslint lib/
|
11 | test: clean lint
|
12 | mocha --exit --reporter spec $(MOCHAFLAGS)
|
13 |
|
14 | version:
|
15 | node -e "console.log(require('./package.json').version)"
|
16 |
|
17 | release:
|
18 | npm run build |
\ | No newline at end of file |