123456789101112131415161718192021222324252627 |
- #!/bin/sh
- SASS_SOURCE_PATH="scss"
- SASS_OPTIONS="--source-map=true --style=compressed"
- CSS_TARGET_PATH="css-compiled"
- wtfile=$(command -v wt) || { echo "install wellington with 'brew install wellington"; exit 1; }
- cd -P `pwd`
- $wtfile compile "$SASS_SOURCE_PATH" -b "$CSS_TARGET_PATH" $SASS_OPTIONS
- $wtfile watch "$SASS_SOURCE_PATH" -b "$CSS_TARGET_PATH" $SASS_OPTIONS
|