Browse Source

Merge pull request #36 from fancycode/jshint

Fail "make" if jshint returns an error.
pull/37/head
Simon Eisenmann 11 years ago
parent
commit
ce44be6ce3
  1. 2
      Makefile

2
Makefile

@ -118,7 +118,7 @@ javascript: @@ -118,7 +118,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