aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/build.gradle
diff options
context:
space:
mode:
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>2021-01-18 11:52:49 +0100
committersonartech <sonartech@sonarsource.com>2021-01-21 20:30:30 +0000
commit23b1a931472ff74c3c48be78c203472e7aa15e6a (patch)
treedb805cbf0f61f98b7e8f6ad84e85432810e97073 /server/sonar-docs/build.gradle
parentaed88b2594e3965a3f6f4a07fef42ab4f58d6dcc (diff)
downloadsonarqube-23b1a931472ff74c3c48be78c203472e7aa15e6a.tar.gz
sonarqube-23b1a931472ff74c3c48be78c203472e7aa15e6a.zip
Split yarn validate-ci task
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r--server/sonar-docs/build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle
index 7a078b46c4c..39051304b87 100644
--- a/server/sonar-docs/build.gradle
+++ b/server/sonar-docs/build.gradle
@@ -70,6 +70,18 @@ yarn_run {
// To clean outputs outside of "build" directory:
clean.dependsOn(cleanYarn_run)
+"yarn_check-ci" {
+ // Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
+ ['config', 'src'].each {
+ inputs.dir(it)
+ }
+ ['package.json', 'yarn.lock', 'tsconfig.json'].each {
+ inputs.file(it)
+ }
+
+ dependsOn(yarn)
+}
+
"yarn_validate-ci" {
// Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
['config', 'src'].each {