Skip to content

Commit bcd30d4

Browse files
committed
AMP-32165 update makefile
1 parent 05c2324 commit bcd30d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ README.md: $(SNIPPET_OUT) version
6666
#
6767

6868
$(OUT): node_modules $(SRC) package.json rollup.config.js rollup.min.js rollup.native.js rollup.esm.js rollup.umd.js rollup.umd.min.js
69-
@$(PRETTIER) --write $(src)
70-
@$(ESLINT) --fix $(SRC)
69+
@$(PRETTIER) --check $(SRC)
70+
@$(ESLINT) $(SRC)
7171
@NODE_ENV=production $(ROLLUP) --config rollup.config.js # is the snippet build config
7272
@NODE_ENV=production $(ROLLUP) --config rollup.esm.js # does not concat dependencies, only has module and dependencies
7373
@NODE_ENV=production $(ROLLUP) --config rollup.umd.js # generates npm version, also usable in require js app
@@ -81,8 +81,8 @@ $(OUT): node_modules $(SRC) package.json rollup.config.js rollup.min.js rollup.n
8181
# Target for minified `amplitude-snippet.js` file.
8282
#
8383
$(SNIPPET_OUT): $(SRC) $(SNIPPET)
84-
@$(PRETTIER) --write $(src)
85-
@$(ESLINT) --fix $(SRC)
84+
@$(PRETTIER) --check $(SRC)
85+
@$(ESLINT) $(SRC)
8686
@$(MINIFY) $(SNIPPET) -m -b max-line-len=80,beautify=false | awk 'NF' > $(SNIPPET_OUT)
8787

8888
$(SEGMENT_SNIPPET_OUT): $(SRC) $(SNIPPET)

0 commit comments

Comments
 (0)