#!/bin/bash # SASS # options=""; if [ "$1" == "-d" ]; #debud mode ./css.sh -d then options="--style compact" else if [ "$1" == "-dd" ]; #debud mode 2 ./css.sh -dd then options="--style compact --sourcemap=none --debug-info" else options="--style compact --sourcemap=none" fi fi cd ./www/css rm -f site.css admin.css ckeditor.css modules/wideSlide.css sass $options --watch ./scss/:. ./modules/scss/:./modules