Skip to content

Commit

Permalink
Testing if build shouldn't be skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
luboskmetko committed Jul 27, 2016
1 parent 0c85e73 commit 13c6d9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generators/page/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ var PageChisel = yeoman.Base.extend({
* @public
*/
install: function () {
this.spawnCommand('gulp', ['build']);
if (!this.options['skip-build']) {
this.spawnCommand('gulp', ['build']);
}

this.log('All done!');
}
});
Expand Down

0 comments on commit 13c6d9d

Please sign in to comment.