aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-01 18:48:21 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-01 19:43:11 +0200
commit1ea2082dcf90c5a995bda0c6c9bcf3860eb932b9 (patch)
tree4a8e2e9183b77e69b11a5ff1511390b4efc99f7c /package.json
parent1d040f94af61d34de2a86a7cb8f79d01bed6eab2 (diff)
downloadnextcloud-server-1ea2082dcf90c5a995bda0c6c9bcf3860eb932b9.tar.gz
nextcloud-server-1ea2082dcf90c5a995bda0c6c9bcf3860eb932b9.zip
chore: Do not sass-compile external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 3fbb7d0e27f..fd8a4f6dc1d 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,8 @@
"test": "jest",
"test:watch": "jest --watch",
"test:jsunit": "karma start tests/karma.config.js --single-run",
- "sass": "sass --style compressed --load-path core/css core/css/ apps/*/css",
- "sass:watch": "sass --watch --load-path core/css core/css/ apps/*/css",
+ "sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)",
+ "sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then echo -n \"$cssdir \"; fi; done)",
"sass:icons": "babel-node core/src/icons.js",
"cypress": "npm run cypress:component && npm run cypress:e2e",
"cypress:component": "cypress run --component",