mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Test the build when we test our build
Use webpack --bail to actually return 1 when the build fails
This commit is contained in:
parent
23558f583f
commit
07e1a96811
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -24,7 +24,7 @@ translations:
|
|||
./src/scripts/build-locales locales/translations.json
|
||||
|
||||
webpack:
|
||||
$(WEBPACK)
|
||||
$(WEBPACK) --bail
|
||||
|
||||
# ------------------------------------
|
||||
|
||||
|
@ -45,6 +45,7 @@ start:
|
|||
|
||||
test:
|
||||
@make lint
|
||||
@make build
|
||||
|
||||
lint:
|
||||
$(ESLINT) ./*.js
|
||||
|
|
Loading…
Reference in a new issue