Skip to content

Commit 9c89d2f

Browse files
committed
Remove _lint, _test, _html from common.mk
1 parent 1d3fc77 commit 9c89d2f

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

common.mk

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ all: lint test build
1717
# Used for pre-publishing.
1818
dist: 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-
3620
deps:
3721
@npm install
3822
@echo -e " $(OK) deps installed"

fluent-gecko/makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ include ../common.mk
66
version = $(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+
914
test:
1015
@nyc --reporter=text --reporter=html mocha \
1116
--recursive --ui tdd \
@@ -66,5 +71,4 @@ clean:
6671
@rm -rf .nyc_output coverage
6772
@echo -e " $(OK) clean"
6873

69-
lint: _lint
70-
html: _html
74+
html: ;

0 commit comments

Comments
 (0)