Skip to content

Commit 55d26c1

Browse files
authored
(@fluent/gecko) Prune obsolete build targets (#471)
1 parent ed7dafa commit 55d26c1

File tree

8 files changed

+3
-222
lines changed

8 files changed

+3
-222
lines changed

fluent-gecko/makefile

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,56 +8,23 @@ version = $(1)@$(shell node -e "\
88

99
lint:
1010
@eslint --config $(ROOT)/eslint_js.json --max-warnings 0 src/
11-
@eslint --config $(ROOT)/eslint_test.json --max-warnings 0 test/
1211
@echo -e " $(OK) lint"
1312

14-
test:
15-
@nyc --reporter=text --reporter=html mocha \
16-
--recursive --ui tdd \
17-
--require esm \
18-
test/**/*_test.js
13+
test: ;
1914

2015
.PHONY: build
21-
build: Fluent.jsm FluentSyntax.jsm Localization.jsm DOMLocalization.jsm l10n.js fluent-react.js
22-
23-
Fluent.jsm: $(SOURCES)
24-
$(MAKE) -sC ../fluent-bundle compile
25-
@rollup $(CURDIR)/src/fluent.js \
26-
--config ./xpcom_config.js \
27-
--output.intro "/* $(call version,fluent-bundle) */" \
28-
--output.file ./dist/$@
29-
@echo -e " $(OK) $@ built"
16+
build: FluentSyntax.jsm fluent-react.js
3017

3118
FluentSyntax.jsm: $(SOURCES)
3219
$(MAKE) -sC ../fluent-syntax compile
33-
@rollup $(CURDIR)/src/fluent_syntax.js \
20+
@rollup $(CURDIR)/src/fluent-syntax.js \
3421
--config ./xpcom_config.js \
3522
--no-treeshake \
3623
--no-freeze \
3724
--output.intro "/* $(call version,fluent-syntax) */" \
3825
--output.file ./dist/$@
3926
@echo -e " $(OK) $@ built"
4027

41-
Localization.jsm: $(SOURCES)
42-
@rollup $(CURDIR)/src/localization.js \
43-
--config ./xpcom_config.js \
44-
--output.intro "/* $(call version,fluent-dom) */" \
45-
--output.file ./dist/$@
46-
@echo -e " $(OK) $@ built"
47-
48-
DOMLocalization.jsm: $(SOURCES)
49-
@rollup $(CURDIR)/src/dom_localization.js \
50-
--config ./xpcom_dom_config.js \
51-
--output.intro "/* $(call version,fluent-dom) */" \
52-
--output.file ./dist/$@
53-
@echo -e " $(OK) $@ built"
54-
55-
l10n.js: $(SOURCES)
56-
@rollup $(CURDIR)/src/l10n.js \
57-
--output.format es \
58-
--output.file ./dist/$@
59-
@echo -e " $(OK) $@ built"
60-
6128
fluent-react.js: $(SOURCES)
6229
$(MAKE) -sC ../fluent-react compile
6330
@rollup $(CURDIR)/src/fluent-react.js \

fluent-gecko/src/dom_localization.js

Lines changed: 0 additions & 35 deletions
This file was deleted.
File renamed without changes.

fluent-gecko/src/fluent.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

fluent-gecko/src/l10n.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

fluent-gecko/src/localization.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

fluent-gecko/test/noop_test.js

Whitespace-only changes.

fluent-gecko/xpcom_dom_config.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)