]> source.dussan.org Git - sonarqube.git/commitdiff
Active fast grunt build in dev mode 349/head
authorDavid Gageot <david@gageot.net>
Tue, 2 Jun 2015 16:38:03 +0000 (18:38 +0200)
committerDavid Gageot <david@gageot.net>
Tue, 2 Jun 2015 16:42:16 +0000 (18:42 +0200)
server/sonar-web/pom.xml

index 857e044aa93f7e5d36f853205a19cb9dd4a86978..5203f26cf3852892bae0e756fe3deddd7cb4b229 100644 (file)
@@ -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>
               <goal>grunt</goal>
             </goals>
             <configuration>
-              <arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</arguments>
+              <arguments>${grunt.arguments}</arguments>
             </configuration>
           </execution>
         </executions>
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>dev</id>
+      <properties>
+        <grunt.arguments>maven-quick-build</grunt.arguments>
+      </properties>
+    </profile>
   </profiles>
 
 </project>