From 0f19179e32b419c195f47b07e177f2233f6f01e5 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 22 May 2014 19:50:41 +0200 Subject: [PATCH] Added js-beautify target. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)