aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/pom.xml
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-06-02 18:38:03 +0200
committerDavid Gageot <david@gageot.net>2015-06-02 18:42:16 +0200
commit58b0f0ccefccec124eee8ed30ceaf711b79f917a (patch)
treec7d8920006b05c587a949029445e04ed479d6a11 /server/sonar-web/pom.xml
parent3203cdf1597fe567a56942f5e1dd45170496199a (diff)
downloadsonarqube-58b0f0ccefccec124eee8ed30ceaf711b79f917a.tar.gz
sonarqube-58b0f0ccefccec124eee8ed30ceaf711b79f917a.zip
Active fast grunt build in dev mode
Diffstat (limited to 'server/sonar-web/pom.xml')
-rw-r--r--server/sonar-web/pom.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml
index 857e044aa93..5203f26cf38 100644
--- a/server/sonar-web/pom.xml
+++ b/server/sonar-web/pom.xml
@@ -16,6 +16,7 @@
<sonar.sources>src/main/js,src/main/less</sonar.sources>
<sonar.exclusions>src/main/js/libs/third-party/**/*,src/main/js/libs/require.js</sonar.exclusions>
<sonar.javascript.lcov.reportPath>target/js-coverage/lcov.info</sonar.javascript.lcov.reportPath>
+ <grunt.arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</grunt.arguments>
</properties>
<build>
@@ -130,7 +131,7 @@
<goal>grunt</goal>
</goals>
<configuration>
- <arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</arguments>
+ <arguments>${grunt.arguments}</arguments>
</configuration>
</execution>
</executions>
@@ -201,6 +202,12 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>dev</id>
+ <properties>
+ <grunt.arguments>maven-quick-build</grunt.arguments>
+ </properties>
+ </profile>
</profiles>
</project>