From 934082bca1a58179ab8fa126af25db4bc3f8574a Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Thu, 25 Jun 2015 12:53:45 +0200 Subject: [PATCH] fail make static on build JS build errors fixes #277 --- Makefile | 2 +- circle.yml | 2 +- client/webpack.config.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 74ff21c96..c5ffb3e40 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all deps static clean client-lint client-sync +.PHONY: all deps static clean client-lint client-test client-sync # If you can use Docker without being root, you can `make SUDO= ` SUDO=sudo diff --git a/circle.yml b/circle.yml index 3012cedd7..c53c034b3 100644 --- a/circle.yml +++ b/circle.yml @@ -35,10 +35,10 @@ dependencies: test: override: - cd $SRCDIR; ./bin/lint . + - cd $SRCDIR; make client-test - cd $SRCDIR; make static - cd $SRCDIR; make - cd $SRCDIR; ./bin/test -slow - - cd $SRCDIR; make client-test - cd $SRCDIR/experimental; make post: - goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true diff --git a/client/webpack.config.js b/client/webpack.config.js index a00fec98a..bcca22765 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -26,6 +26,7 @@ var config = { sourcePrefix: ' ' }, + bail: !DEBUG, // fail on first error when building release cache: DEBUG, debug: DEBUG, devtool: DEBUG ? '#inline-source-map' : false,