From: Tim Otten Date: Mon, 14 Sep 2020 10:37:05 +0000 (-0700) Subject: composer.json - Move greenwich-specific rules into the greenwich folder X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=266691fdd23a6679b6700c5558f2ef51a9daa50e;p=civicrm-core.git composer.json - Move greenwich-specific rules into the greenwich folder --- diff --git a/composer.json b/composer.json index 94a752d624..da8da1a524 100644 --- a/composer.json +++ b/composer.json @@ -283,14 +283,6 @@ "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch" } }, - "compile": [ - { - "title": "Greenwich SCSS (ext/greenwich/dist/bootstrap3.css)", - "php-method": "\\Civi\\Compile\\Scss::build", - "watch-files": ["ext/greenwich/scss"], - "scss-files": {"ext/greenwich/scss/main.scss": "ext/greenwich/dist/bootstrap3.css"}, - "scss-includes": ["ext/greenwich/scss", "ext/greenwich/extern/bootstrap3/assets/stylesheets"] - } - ] + "compile-includes": ["ext/greenwich/composer.compile.json"] } } diff --git a/ext/greenwich/composer.compile.json b/ext/greenwich/composer.compile.json new file mode 100644 index 0000000000..a731b607fb --- /dev/null +++ b/ext/greenwich/composer.compile.json @@ -0,0 +1,11 @@ +{ + "compile": [ + { + "title": "Greenwich CSS (dist/bootstrap3.css)", + "php-method": "\\Civi\\Compile\\Scss::build", + "watch-files": ["scss"], + "scss-files": {"scss/main.scss": "dist/bootstrap3.css"}, + "scss-includes": ["scss", "extern/bootstrap3/assets/stylesheets"] + } + ] +}