fail make static on build JS build errors

fixes #277
This commit is contained in:
David Kaltschmidt
2015-06-25 12:53:45 +02:00
parent 09de188c76
commit 934082bca1
3 changed files with 3 additions and 2 deletions

View File

@@ -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= <target>`
SUDO=sudo

View File

@@ -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

View File

@@ -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,