composer.json - Switch to composer-compile-lib. Add more helpers.
[civicrm-core.git] / ext / greenwich / composer.compile.json
CommitLineData
266691fd
TO
1{
2 "compile": [
3 {
4 "title": "Greenwich CSS (<comment>dist/bootstrap3.css</comment>)",
62b166ae
TO
5 "run": [
6 "@php-eval mkdir('extern/select2', 0777, TRUE);",
7 "@php-eval $ok = copy('../../bower_components/select2/select2-bootstrap.css', 'extern/select2/select2-bootstrap.scss'); exit($ok?0:1);",
8 "@php-method \\Civi\\Compile\\Scss::build"
9 ],
10 "watch-files": ["scss", "../../bower_components/select2/select2-bootstrap.css"],
266691fd 11 "scss-files": {"scss/main.scss": "dist/bootstrap3.css"},
2aba31d8 12 "scss-includes": ["scss", "extern/bootstrap3/assets/stylesheets", "extern/select2"]
266691fd
TO
13 }
14 ]
15}