diff --git a/Makefile b/Makefile index ca25ec81..3f9944db 100644 --- a/Makefile +++ b/Makefile @@ -120,6 +120,9 @@ javascript: jshint: find static/ -wholename static/js/libs -prune -o -name "*.js" -print0 | xargs -0 -n1 jshint +jsbeautify: + find static/ -wholename static/js/libs -prune -wholename static/translation -prune -o -name "*.js" -exec js-beautify -t -o {}.new {} \; -exec mv -f {}.new {} \; + release: GOPATH = "$(DIST):$(VENDOR):$(CURDIR)" release: LDFLAGS = -X main.version $(VERSION) -X main.defaultConfig $(CONFIG_PATH)/$(CONFIG_FILE) release: OUTPUT = $(DIST_BIN)