summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-11 12:28:10 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-11 12:28:10 +0200
commit8e412e199ce447cb64f040bae86f1478aa598fa4 (patch)
tree6b94dd7729ea55c26c8a07e5fddf2fa1d7b1f0cb
parentfcb01bddf791845f031efd537a1d6b86f1c33cf1 (diff)
add asset-rebuild helper script
-rwxr-xr-xscripts/asset-rebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild
new file mode 100755
index 0000000..dd32113
--- /dev/null
+++ b/scripts/asset-rebuild
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -x
+
+for file in autocomplete geolocation travelynx-actions; do
+ uglifyjs public/static/js/${file}.js -c -m > public/static/js/${file}.min.js
+done