Skip to content

Instantly share code, notes, and snippets.

@olsonpm
Created February 15, 2015 07:50
Show Gist options
  • Save olsonpm/749ed04e08e92af025ff to your computer and use it in GitHub Desktop.
Save olsonpm/749ed04e08e92af025ff to your computer and use it in GitHub Desktop.
empty generator
module.exports = generators.Base.extend({
'constructor': function constructor() {
generators.Base.apply(this, arguments);
this.composeWith('personal-pjson', {
args: arguments[0]
});
this.composeWith('personal-fonts', {
args: arguments[0]
});
this.composeWith('personal-angular', {
args: arguments[0]
});
this.composeWith('personal-ptr', {
args: arguments[0]
});
},
'default': function doNothing() {
// gets around issue where yeoman doesn't allow for empty generators
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment