forked from mozilla/fathom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (15 loc) · 762 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: index.js
lint:
@node_modules/.bin/eslint --ext mjs .
index.js:
@node_modules/.bin/babel *.mjs **/*.mjs --out-dir .
test: index.js
@node_modules/.bin/mocha
coverage: index.js
@node_modules/.bin/istanbul cover node_modules/.bin/_mocha
debugtest: index.js
# This is known to work on node 7.6.0.
@node_modules/.bin/mocha --inspect --debug-brk
clean:
rm -f clusters.js exceptions.js fnode.js index.js lhs.js optimizers.js rhs.js rule.js ruleset.js side.js utils.js utilsForBackend.js utilsForFrontend.js examples/readability.js test/clusters_tests.js test/demos.js test/lhs_tests.js test/readability_tests.js test/rhs_tests.js test/rule_tests.js test/ruleset_tests.js test/side_tests.js test/utils_tests.js
.PHONY: all lint test coverage debugtest