aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make_css
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-09-02 18:56:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-09-02 18:56:39 +0100
commit599f92307226e156f58dc36e479764c0d1a1605d (patch)
treea8a2889d8af2d70344f71eb35f1f351ac0dd301a /bin/make_css
parent6050d32f4333c885278622c1c56a977a8abd6d88 (diff)
Better call to SASS to only do it if needed etc.
Diffstat (limited to 'bin/make_css')
-rwxr-xr-xbin/make_css5
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/..