File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,6 @@ all: lint test build
1717# Used for pre-publishing.
1818dist : clean lint test build html
1919
20- _lint :
21- @eslint --config $(ROOT ) /eslint_js.json --max-warnings 0 src/
22- @eslint --config $(ROOT ) /eslint_test.json --max-warnings 0 test/
23- @echo -e " $( OK) lint"
24-
25- _html :
26- ifneq (,$(wildcard ./.esdoc.json) )
27- @esdoc
28- @echo -e " $(OK) html built"
29- endif
30-
31- _clean :
32- @rm -f index.js compat.js
33- @rm -rf .nyc_output coverage
34- @echo -e " $( OK) clean"
35-
3620deps :
3721 @npm install
3822 @echo -e " $( OK) deps installed"
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ include ../common.mk
66version = $(1 ) @$(shell node -e "\
77 console.log(require('../$(1 ) /package.json') .version)")
88
9+ lint :
10+ @eslint --config $(ROOT ) /eslint_js.json --max-warnings 0 src/
11+ @eslint --config $(ROOT ) /eslint_test.json --max-warnings 0 test/
12+ @echo -e " $( OK) lint"
13+
914test :
1015 @nyc --reporter=text --reporter=html mocha \
1116 --recursive --ui tdd \
6671 @rm -rf .nyc_output coverage
6772 @echo -e " $( OK) clean"
6873
69- lint : _lint
70- html : _html
74+ html : ;
You can’t perform that action at this time.
0 commit comments