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) {
// grunt.registerTask('css', [ 'compass:dist', 'copy:dist', 'concat',
// 'autoprefixer', 'cssmin' ]);
grunt.registerTask('build', [ 'build1', 'rename' ]);
grunt.registerTask('default', [ 'build' ]);
grunt.registerTask('default', [ 'clean', 'build' ]);
// Start web server
grunt.registerTask('serve', [ 'build', 'connect:server', 'watch' ]);
......
This diff is collapsed.
......@@ -702,11 +702,11 @@
<execution>
<id>grunt-build</id>
<goals>
<goal>npm</goal>
<goal>grunt</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run memGrunt -- --no-color --buildNumber=${buildNumber}</arguments>
<arguments>--no-color --buildNumber=${buildNumber}</arguments>
<srcdir>${basedir}/src/main/sourceapp</srcdir>
<outputdir>${basedir}/src/main/webapp/html</outputdir>
<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