summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-11-21 14:13:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-11-21 14:13:41 +0100
commite3fba3dcd493f609e107435867c4a67cb7ee420f (patch)
treecd228574b1d4f4e446fac87e9d6fe3eeffe27b63 /scripts
parent88d3e67474c518a5c422b5f0e47c58147f31fe6e (diff)
import materialize sass sources instead of relying on npm
Diffstat (limited to 'scripts')
-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