summaryrefslogtreecommitdiff
path: root/scripts/asset-rebuild
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-13 21:18:48 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-13 21:18:48 +0100
commit04f4c02b5e8876f4c699d2109cda69a0d45ea009 (patch)
treedb4c4ba3ea72866e7e3d226b8ada1f6041db91a0 /scripts/asset-rebuild
parentedc03d0f97cb75de09bbb9366a9d82346f32d5e1 (diff)
asset-rebuild: add CSS files and autocomplete.js
Diffstat (limited to 'scripts/asset-rebuild')
-rwxr-xr-xscripts/asset-rebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild
index 51b97a6..4d36a6d 100755
--- a/scripts/asset-rebuild
+++ b/scripts/asset-rebuild
@@ -5,6 +5,11 @@
set -ex
+sassc -t compressed sass/dark.scss public/static/css/dark.min.css
+sassc -t compressed sass/light.scss public/static/css/light.min.css
+
+scripts/update-autocomplete
+
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