Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Update Empty web application for RC2. Closes #704 (#712)
Browse files Browse the repository at this point in the history
* Update Empty web application for RC2. Closes #704

Update with final bits for RC2

Tested with 1.0.0-preview1-002702

* 🎨 Store README.md project root

This moves README.md to the project root outside
of template webroot directory:
- implementation
- test coverage

This unifies template with aspnet/Templates structure

Thanks!
  • Loading branch information
peterblazejewicz committed May 13, 2016
1 parent 001d44a commit 4b75a8e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ var AspnetGenerator = yeoman.generators.Base.extend({

/// Properties
this.fs.copyTpl(this.templatePath('Properties/**/*'), this.applicationName + '/Properties', this.templatedata);
/// wwwroot
this.fs.copy(this.templatePath('wwwroot/**/*'), this.applicationName + '/wwwroot');
this.fs.copy(this.sourceRoot() + '/README.md', this.applicationName + '/README.md');
mkdirp.sync(this.applicationName + '/wwwroot');
break;

case 'webapi':
Expand Down
2 changes: 1 addition & 1 deletion templates/projects/emptyweb/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:24436/",
"applicationUrl": "http://localhost:55343/",
"sslPort": 0
}
},
Expand Down
8 changes: 4 additions & 4 deletions templates/projects/emptyweb/project.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-rc2-3002611",
"version": "1.0.0-rc2-3002702",
"type": "platform"
},
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-20801",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20801"
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final"
},

"tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-rc2-20801",
"version": "1.0.0-preview1-final",
"imports": "portable-net45+win8+dnxcore50"
}
},
Expand Down
2 changes: 1 addition & 1 deletion test/test-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ describe('aspnet - Empty Web Application', function() {
'emptyWebTest/project.json',
'emptyWebTest/Program.cs',
'emptyWebTest/Properties/launchSettings.json',
'emptyWebTest/README.md',
'emptyWebTest/Startup.cs',
'emptyWebTest/wwwroot/README.md',
'emptyWebTest/web.config',
'emptyWebTest/Dockerfile'
];
Expand Down

0 comments on commit 4b75a8e

Please sign in to comment.