Skip to content
Permalink
Browse files

updated grunt task that copy files ready to be included: now build ta…

…sk will be executed too [TOUCH:234]
  • Loading branch information
SimoneSabba committed Jun 25, 2014
1 parent ac76326 commit 726252d103a010814ded7c6c5f35b06c898e5934
Showing with 12 additions and 1 deletion.
  1. +5 −1 Gruntfile.js
  2. +7 −0 pundit2_conf.js
@@ -267,6 +267,10 @@ module.exports = function(grunt) {
cwd: '<%= conf.build %>/css/',
dest: '<%= customDir %>/',
src: 'img/*'
},
{
src: './pundit2_conf.js',
dest: '<%= customDir %>/pundit2_conf.js'
}
]
},
@@ -607,9 +611,9 @@ module.exports = function(grunt) {

grunt.registerTask('prod', 'Copy files ready to be included in the HTML page',
function(){
grunt.task.run('build');
grunt.config.set('customDir', arguments[0]);
grunt.task.run('copy:prod');

});

};
@@ -0,0 +1,7 @@
var punditConfig = {
modules: {
'Client': {
active: true
}
}
}

0 comments on commit 726252d

Please sign in to comment.
You can’t perform that action at this time.