File tree 2 files changed +6
-18
lines changed
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
17
17
# Used for pre-publishing.
18
18
dist : clean lint test build html
19
19
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
-
36
20
deps :
37
21
@npm install
38
22
@echo -e " $( OK) deps installed"
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ include ../common.mk
6
6
version = $(1 ) @$(shell node -e "\
7
7
console.log(require('../$(1 ) /package.json') .version)")
8
8
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
+
9
14
test :
10
15
@nyc --reporter=text --reporter=html mocha \
11
16
--recursive --ui tdd \
66
71
@rm -rf .nyc_output coverage
67
72
@echo -e " $( OK) clean"
68
73
69
- lint : _lint
70
- html : _html
74
+ html : ;
You can’t perform that action at this time.
0 commit comments