Commit 2154bd1c authored by Matija Obreza's avatar Matija Obreza

Grunt build updated

- Included clean in default build
parent 533e54c3
...@@ -289,7 +289,7 @@ module.exports = function(grunt) { ...@@ -289,7 +289,7 @@ module.exports = function(grunt) {
// grunt.registerTask('css', [ 'compass:dist', 'copy:dist', 'concat', // grunt.registerTask('css', [ 'compass:dist', 'copy:dist', 'concat',
// 'autoprefixer', 'cssmin' ]); // 'autoprefixer', 'cssmin' ]);
grunt.registerTask('build', [ 'build1', 'rename' ]); grunt.registerTask('build', [ 'build1', 'rename' ]);
grunt.registerTask('default', [ 'build' ]); grunt.registerTask('default', [ 'clean', 'build' ]);
// Start web server // Start web server
grunt.registerTask('serve', [ 'build', 'connect:server', 'watch' ]); grunt.registerTask('serve', [ 'build', 'connect:server', 'watch' ]);
......
This diff is collapsed.
...@@ -702,11 +702,11 @@ ...@@ -702,11 +702,11 @@
<execution> <execution>
<id>grunt-build</id> <id>grunt-build</id>
<goals> <goals>
<goal>npm</goal> <goal>grunt</goal>
</goals> </goals>
<phase>generate-resources</phase> <phase>generate-resources</phase>
<configuration> <configuration>
<arguments>run memGrunt -- --no-color --buildNumber=${buildNumber}</arguments> <arguments>--no-color --buildNumber=${buildNumber}</arguments>
<srcdir>${basedir}/src/main/sourceapp</srcdir> <srcdir>${basedir}/src/main/sourceapp</srcdir>
<outputdir>${basedir}/src/main/webapp/html</outputdir> <outputdir>${basedir}/src/main/webapp/html</outputdir>
<triggerfiles> <triggerfiles>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment