diff --git a/Makefile b/Makefile index 4cfa6dbb..70f43dd3 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,9 @@ javascript: -o $(CURDIR)/build/build.js \ dir=$(OUTPUT_JS) $(RJSFLAGS) +jshint: + find static/ -wholename static/js/libs -prune -o -name "*.js" -exec jshint {} \; + release: GOPATH = "$(DIST):$(VENDOR):$(CURDIR)" release: LDFLAGS = -X main.version $(VERSION) -X main.defaultConfig $(CONFIG_PATH)/$(CONFIG_FILE) release: OUTPUT = $(DIST_BIN)