diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-09-02 18:56:39 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-09-02 18:56:39 +0100 |
commit | 599f92307226e156f58dc36e479764c0d1a1605d (patch) | |
tree | a8a2889d8af2d70344f71eb35f1f351ac0dd301a | |
parent | 6050d32f4333c885278622c1c56a977a8abd6d88 (diff) |
Better call to SASS to only do it if needed etc.
-rwxr-xr-x | bin/make_css | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/make_css b/bin/make_css index c22848f50..59acdb984 100755 --- a/bin/make_css +++ b/bin/make_css @@ -12,7 +12,4 @@ DIRECTORY=$(cd `dirname $0` && pwd) -for file in `find $DIRECTORY/../ -name "*.scss" ! -name "_*"`; do - sass --style compressed $file ${file/scss/css} -done - +sass --scss --update --style compressed $DIRECTORY/.. |