summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/asset-rebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild
new file mode 100755
index 0000000..8e145fc
--- /dev/null
+++ b/scripts/asset-rebuild
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -ex
+
+uglifyjs public/static/js/autocomplete.js public/static/js/collapse.js -c -m > public/static/js/dbf.min.js
+uglifyjs public/static/js/geolocation.js -c -m > public/static/js/geolocation.min.js
+uglifyjs public/static/js/map-refresh.js -c -m > public/static/js/map-refresh.min.js
+uglifyjs public/static/js/marquee.js -c -m > public/static/js/marquee.min.js