Skip to content

Commit

Permalink
Change name of common folder to overrides. Modify index.js to account…
Browse files Browse the repository at this point in the history
… for this change.
  • Loading branch information
Josh Williams committed Feb 25, 2016
1 parent 009aeed commit 2e79f23
Show file tree
Hide file tree
Showing 82 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ var AspnetGenerator = yeoman.generators.Base.extend({
this.fs.copy(this.templatePath('wwwroot/**/*'), this.applicationName + '/wwwroot');

// UI Component Overrides
// If the developer has placed anything in common/ui-module/project-type/**/* then use it
this.fs.copyTpl(this.templatePath('/../../common/' + this.ui + '/' + this.type + '/**/*'), this.applicationName + '/', this.templatedata);
// If the developer has placed anything in overrides/ui-module/project-type/**/* then use it
this.fs.copyTpl(this.templatePath('/../../overrides/' + this.ui + '/' + this.type + '/**/*'), this.applicationName + '/', this.templatedata);

break;
case 'webbasic':
Expand Down Expand Up @@ -266,8 +266,8 @@ var AspnetGenerator = yeoman.generators.Base.extend({
this.fs.copy(this.templatePath('wwwroot/**/*'), this.applicationName + '/wwwroot');

// UI Component Overrides
// If the developer has placed anything in common/ui-module/project-type/**/* then use it
this.fs.copyTpl(this.templatePath('/../../common/' + this.ui + '/' + this.type + '/**/*'), this.applicationName + '/', this.templatedata);
// If the developer has placed anything in overrides/ui-module/project-type/**/* then use it
this.fs.copyTpl(this.templatePath('/../../overrides/' + this.ui + '/' + this.type + '/**/*'), this.applicationName + '/', this.templatedata);

break;
case 'nancy':
Expand Down

0 comments on commit 2e79f23

Please sign in to comment.