Browse Source

Fail "make" if jshint returns an error.

pull/36/head
Joachim Bauch 11 years ago
parent
commit
7e7c776d91
  1. 2
      Makefile

2
Makefile

@ -108,7 +108,7 @@ javascript: @@ -108,7 +108,7 @@ javascript:
dir=$(OUTPUT_JS) $(RJSFLAGS)
jshint:
find static/ -wholename static/js/libs -prune -o -name "*.js" -exec jshint {} \;
find static/ -wholename static/js/libs -prune -o -name "*.js" -print0 | xargs -0 -n1 jshint
release: GOPATH = "$(DIST):$(VENDOR):$(CURDIR)"
release: LDFLAGS = -X main.version $(VERSION) -X main.defaultConfig $(CONFIG_PATH)/$(CONFIG_FILE)

Loading…
Cancel
Save