aboutsummaryrefslogtreecommitdiffstats
path: root/bin/make_css
Commit message (Collapse)AuthorAgeLines
* Stop make_css failing if run on fresh checkout.Matthew Somerville2017-08-31-1/+7
| | | | The change in 66bd45b6 did not account for being run with no CSS files.
* Stop using File::Slurp in make_css.Matthew Somerville2017-08-29-3/+3
|
* Add make_css flag to run script after compilationDave Arter2017-08-17-0/+5
| | | | | | | | | In conjunction with the --watch flag, the new --script flag can be used to run a given command after compilation caused by files changing. E.g. you could reload your browser automatically upon hitting save in your editor, with something like https://gist.github.com/davea/07a7456da15eeb8c47f1fb66e4b96c54
* Follow symlinks in make_css.Matthew Somerville2016-06-08-1/+1
| | | | | This is in case the cobrand directory is actually a symlink to elsewhere, as it is with some deployments.
* Add output style option to make_css command.Matthew Somerville2016-06-07-1/+10
|
* Add inline-image Sass function.Matthew Somerville2016-06-01-0/+14
| | | | | The move to libsass missed out one function call, that inline images as data URIs, which wasn't spotted as it didn't error.
* Improve CSS compilation.Matthew Somerville2016-05-31-31/+137
| | | | | | | | Move to using libsass via CSS::Sass, and stop using compass, supplying any used mixins directly. This removes the need for any ruby/gem based installation, and greatly increases the speed of compilation. make_css is also enhanced, bringing in the file monitoring previously done by a separate script and improving its dependency monitoring.
* Fix non-working scripts when CDPATH is set.Matthew Somerville2015-10-07-3/+3
| | | | | | | If the CDPATH environment variable is set (so cd can look in multiple places), cd prints out the resulting directory when used. This confuses a command sequence used in a couple of places doing (cd && pwd) to get a directory path. Make sure we ignore any output from cd.
* Follow symlinks during CSS compilationZarino Zappia2015-08-13-1/+1
| | | | | | | The fixmystreet-international installation instructions make use of symlinks in, among other places, `web/cobrands/`. This means that make_css needs to follow symlinks when looking for scss files to compile.
* Better finding of parent directory when in symlinkMatthew Somerville2015-01-19-2/+3
| | | | Fixes #978.
* Update to use bundler and work on Ubuntu Trusty.Matthew Somerville2014-11-05-4/+10
| | | | | | | | Switching to bundler saves confusion about gem paths when running sass/compass to compile the CSS. Trusty can use precisely the same packages as precise, with a few tweaks to generalise the contents.
* Allow multiple arguments to make_css.Matthew Somerville2014-09-15-1/+1
|
* Better make_css, doesn't die if grep too long.Matthew Somerville2013-08-30-15/+7
|
* More automated way of spotting compass-using sites.Matthew Somerville2013-06-03-4/+4
|
* add oxfordshire to compass dirsDave Whiteland2012-12-05-1/+1
|
* Merge branch 'stevenage'Struan Donald2012-11-19-1/+1
|\ | | | | | | | | | | | | | | | | | | Conflicts: .gitignore bin/make_css conf/crontab.ugly perllib/FixMyStreet/Cobrand/Default.pm perllib/Open311.pm templates/web/fixmystreet/around/postcode_form.html
| * added Stevenage cobrand (scss just placeholders for now)Dave Whiteland2012-09-07-1/+2
| |
* | Allow argument to be supplied to make_css to only compile that one.Matthew Somerville2012-10-12-1/+6
| |
* | Merge remote-tracking branch 'origin/master' into fmb-read-onlyStruan Donald2012-08-22-2/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore bin/make_css conf/general.yml-example perllib/FixMyStreet/App/Controller/Council.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/Cobrand/Default.pm templates/web/default/around/around_index.html templates/web/default/index.html templates/web/emptyhomes/index.html templates/web/fixmystreet/around/around_index.html templates/web/fixmystreet/index.html web/fixmystreet_app_cgi.cgi web/fixmystreet_app_fastcgi.cgi
| * add zurich to the exclusion list for non compass scssStruan Donald2012-08-17-1/+1
| |
| * add zurich css that just copies fmsStruan Donald2012-08-17-0/+1
| |
| * Move default cobrand to new design.Matthew Somerville2012-07-13-1/+2
| | | | | | | | | | | | | | | | Due to old cobrands, this involves the subclasses implementing the web templates dir to ignore what the default is doing. A vaguely garish yet pleasing colour scheme has been chosen so that the site is both usable and suggests you may want to change it.
* | barnet missing from the compass-using cobrands list in make_cssDave Whiteland2012-06-25-1/+1
| |
* | Merge branch 'master' into fmb-read-onlyDave Whiteland2012-06-25-0/+1
|\| | | | | | | | | | | | | Conflicts: .gitignore bin/make_css perllib/FixMyStreet/Cobrand/FixMyStreet.pm
| * use compass for barnetStruan Donald2012-05-03-1/+2
| |
* | Black/white colour for FMB (and can be used for default look later, hopefully).Matthew Somerville2012-04-25-3/+6
|/
* Initial creation of Bromley cobrand.Matthew Somerville2012-03-22-1/+2
|
* Fix CSS generation script for deploy, move report photo up.Matthew Somerville2012-03-14-3/+11
|
* SASS -> SCSS plus instructions to run make_cssStruan Donald2011-12-09-2/+2
| | | | | Add SCSS tool to requirements Correct comments at top of make_css
* Better call to SASS to only do it if needed etc.Matthew Somerville2011-09-02-4/+1
|
* Versioning of CSS files, remove generated CSS files from repo.Matthew Somerville2011-09-02-1/+1
|
* Use SCSS to generate CSS - no change to actual CSS at this point.Matthew Somerville2011-03-25-0/+18