From 07e1a96811c22ef7539b9227b90bf42ebfd1ce54 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Tue, 20 Oct 2015 19:45:01 -0400 Subject: [PATCH] Test the build when we test our build Use webpack --bail to actually return 1 when the build fails --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e90f1d078..7f55c6d0b 100644 --- a/Makefile +++ b/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