From: Robert Sesek Date: Sun, 12 Aug 2012 17:51:01 +0000 (-0400) Subject: Separate release from stamping via dist X-Git-Tag: 0.9.656.0~15^2~5 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=bab12ff1eb71ea949096721e1217facf5edb898b;p=armadillo.git Separate release from stamping via dist --- diff --git a/Makefile b/Makefile index 1410cd6..451a079 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,12 @@ FRONTEND_BIN=frontend/armadillo.js # Default target, used to produce the backend and uncompiled frontend. all: backend frontend -# Creates the compiled frontend code and stamps the version information into -# the release. +# Creates the compiled frontend code. release: backend compiled +# Performs a release build and stamps the actual version file. +dist: stamp release + # Compiles the backend server. backend: go build -v . @@ -40,7 +42,7 @@ $(FRONTEND_BIN): $(FRONTEND_SOURCES) # Compiles the frontend code for release. compiled: SOURCES_FLAGS=$(foreach f,$(FRONTEND_SOURCES),--js=$f) -compiled: stamp +compiled: java -jar closure-compiler.jar \ $(SOURCES_FLAGS) \ --js_output_file=$(FRONTEND_BIN) \