travelynx/scripts/asset-rebuild

12 lines
280 B
Text
Raw Normal View History

2019-05-11 10:28:10 +00:00
#!/bin/sh
set -x
for theme in dark light; do
sassc -t compressed sass/src/${theme}/index.scss public/static/css/${theme}.min.css
done
2019-05-11 10:28:10 +00:00
for file in autocomplete geolocation travelynx-actions; do
uglifyjs public/static/js/${file}.js -c -m > public/static/js/${file}.min.js
done