From e3fba3dcd493f609e107435867c4a67cb7ee420f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Nov 2020 14:13:41 +0100 Subject: import materialize sass sources instead of relying on npm --- scripts/asset-rebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3