summaryrefslogtreecommitdiff
path: root/sitestatic/js.mk
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-26 11:22:21 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-26 11:22:21 -0400
commitda2751757bc8b6638b6dd6af35d961f05957a105 (patch)
tree4027323ffeef1682067aaf4ade4486a66dde9ced /sitestatic/js.mk
parent817313b03d6990e419e6c922e12572ea71666c9c (diff)
mirror changes from commit '943ef2e8e4'
Diffstat (limited to 'sitestatic/js.mk')
-rw-r--r--sitestatic/js.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sitestatic/js.mk b/sitestatic/js.mk
new file mode 100644
index 00000000..7a8783ce
--- /dev/null
+++ b/sitestatic/js.mk
@@ -0,0 +1,4 @@
+closurecompiler=compiler() { cp "$$1" "$${1%.js}.min.js"; }; compiler
+
+%.min.js: %.js
+ $(closurecompiler) '$<'