aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make_css
blob: 7e01da2679e16f9012848557f734823e233cc985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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