From e6e10a04120ce25f81661c7d536f12a92b85b015 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 22 May 2014 19:56:31 +0200 Subject: [PATCH] Ignore translation in jsbeautify target. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f9944db..8e1af166 100644 --- a/Makefile +++ b/Makefile @@ -121,7 +121,7 @@ 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 {} \; + find static/ \( -path static/js/libs -o -path 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)