Rocket config changed to match the .env

build-sass configuration chanced from using sass to sassc
This commit is contained in:
shockrah 2020-03-07 18:50:48 -08:00
parent b29cbed17c
commit 58fcb99e03
2 changed files with 4 additions and 4 deletions

View File

@ -8,5 +8,5 @@ address="localhost"
port=8080 port=8080
templates_dir="static/html/" templates_dir="static/html/"
[global.databases.freechat_sample_db ] [global.databases.freechat]
url = "mysql://freechat_dev:password@localhost:3306/freechat" url = "mysql://freechat_dev:password@localhost:3306/freechat"

View File

@ -5,7 +5,7 @@ cssDir='static/css/'
build() { build() {
for i in $sassDir/*;do for i in $sassDir/*;do
sass $i $cssDir/`basename -s .scss $i`.css sassc $i $cssDir/`basename -s .scss $i`.css
done done
} }
@ -14,7 +14,7 @@ watch() {
for i in $sassDir*;do for i in $sassDir*;do
pairs="$i:$cssDir`basename -s .scss $i`.css $pairs" pairs="$i:$cssDir`basename -s .scss $i`.css $pairs"
done done
sass --watch $pairs sassc --watch $pairs
} }
"$@" "$@"