Browse Source

Added js-beautify target.

pull/37/head
Simon Eisenmann 11 years ago
parent
commit
0f19179e32
  1. 3
      Makefile

3
Makefile

@ -120,6 +120,9 @@ javascript: @@ -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)

Loading…
Cancel
Save