diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 14:13:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-11-21 14:13:41 +0100 |
commit | e3fba3dcd493f609e107435867c4a67cb7ee420f (patch) | |
tree | cd228574b1d4f4e446fac87e9d6fe3eeffe27b63 /scripts | |
parent | 88d3e67474c518a5c422b5f0e47c58147f31fe6e (diff) |
import materialize sass sources instead of relying on npm
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/asset-rebuild | 4 |
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 |