aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make_css
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-25 14:40:37 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-25 14:40:37 +0000
commit964becdb0b672038080bd90f76b5e2af26d01dae (patch)
tree335952a7052712f72fb808f11cbc41d3970b3b73 /bin/make_css
parent8575d80b2c213976c398592745228011addfbf05 (diff)
Use SCSS to generate CSS - no change to actual CSS at this point.
Diffstat (limited to 'bin/make_css')
-rwxr-xr-xbin/make_css18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/make_css b/bin/make_css
new file mode 100755
index 000000000..7e01da267
--- /dev/null
+++ b/bin/make_css
@@ -0,0 +1,18 @@
+#!/bin/bash
+#
+# make_css:
+# Generate CSS files from SCSS files.
+# Curerntly the CSS files are also in version control, though I guess
+# in future they don't need to be, and compressed style could then be used.
+#
+# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
+# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
+#
+# $Id: send-reports,v 1.79 2010-01-06 16:50:26 louise Exp $
+
+DIRECTORY=$(cd `dirname $0` && pwd)
+
+for file in `find $DIRECTORY/../ -name "*.scss" ! -name "_*"`; do
+ sass --style expanded $file ${file/scss/css}
+done
+