summaryrefslogtreecommitdiff
path: root/scripts/asset-rebuild
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/asset-rebuild')
-rwxr-xr-xscripts/asset-rebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/asset-rebuild b/scripts/asset-rebuild
index dd32113..7962822 100755
--- a/scripts/asset-rebuild
+++ b/scripts/asset-rebuild
@@ -2,6 +2,10 @@
set -x
+for theme in dark light; do
+ sassc -t compressed sass/src/${theme}/index.scss public/static/css/${theme}.min.css
+done
+
for file in autocomplete geolocation travelynx-actions; do
uglifyjs public/static/js/${file}.js -c -m > public/static/js/${file}.min.js
done