aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/scripts
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-03-14 16:18:20 +0100
committerGitHub <noreply@github.com>2018-03-14 16:18:20 +0100
commitb7497deb41ba42c4b9c626de66108d0fed216a07 (patch)
tree7007204e592f94c5c4436fa149632949653997f1 /server/sonar-web/scripts
parentacabda0cc1514ad1d1913dd0729600c71852f59d (diff)
downloadsonarqube-b7497deb41ba42c4b9c626de66108d0fed216a07.tar.gz
sonarqube-b7497deb41ba42c4b9c626de66108d0fed216a07.zip
Fix incremental build of sonar web
Diffstat (limited to 'server/sonar-web/scripts')
-rw-r--r--server/sonar-web/scripts/build.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/server/sonar-web/scripts/build.js b/server/sonar-web/scripts/build.js
index 321cb71c30c..c3469f538c3 100644
--- a/server/sonar-web/scripts/build.js
+++ b/server/sonar-web/scripts/build.js
@@ -37,14 +37,8 @@ function clean() {
// if you're in it, you don't end up in Trash
console.log(chalk.cyan.bold('Cleaning output directories and files...'));
- console.log(paths.jsBuild + '/*');
- rimrafSync(paths.jsBuild + '/*');
-
- console.log(paths.cssBuild + '/*');
- rimrafSync(paths.cssBuild + '/*');
-
- console.log(paths.htmlBuild);
- rimrafSync(paths.htmlBuild);
+ console.log(paths.appBuild + '/*');
+ rimrafSync(paths.appBuild + '/*');
console.log();
}