Skip to content

Commit a52cf60

Browse files
author
JelteMX
committed
Automatically build MPK as a last step
1 parent 2c14e3f commit a52cf60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

generators/app/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,5 +297,10 @@ module.exports = yeoman.generators.Base.extend({
297297
install: function () {
298298
this.log('Copied files, now running ' + chalk.cyan('npm install') + ' to install development dependencies');
299299
this.npmInstall();
300+
},
301+
302+
end: function () {
303+
this.log('\n\n> I will now run ' + chalk.cyan('grunt build') + ' to build the mpk < \n\n');
304+
this.spawnCommand('grunt', ['build']);
300305
}
301306
});

0 commit comments

Comments
 (0)