Permalink
Browse files

Rename HTMLPage to lower case

  • Loading branch information...
1 parent 7debf3b commit 622a4833bc55c5e2864883da4ee79b711238df87 @peterblazejewicz peterblazejewicz committed Jul 24, 2016
View
@@ -107,7 +107,7 @@ The alphabetic list of available sub generators (_to create files after the proj
* [aspnet:gitignore](#gitignore)
* [aspnet:gruntfile](#gruntfile)
* [aspnet:gulpfile](#gulpfile)
-* [aspnet:HTMLPage](#htmlpage)
+* [aspnet:htmlpage](#htmlpage)
* [aspnet:Interface](#interface)
* [aspnet:JavaScript](#javascript)
* [aspnet:JSON](#json)
@@ -320,14 +320,14 @@ Produces `gulpfile.js`
[Return to top](#top)
-### HTMLPage
+### htmlpage
Creates a new HTML file
Example:
```
-yo aspnet:HTMLPage filename
+yo aspnet:htmlpage filename
```
Produces `filename.html`
View
@@ -17,7 +17,7 @@ Subgenerators:
yo aspnet:gitignore [options]
yo aspnet:gruntfile [options]
yo aspnet:gulpfile [options] <name>
- yo aspnet:HTMLPage [options] <name>
+ yo aspnet:htmlpage [options] <name>
yo aspnet:Interface [options] <name>
yo aspnet:JavaScript [options] <name>
yo aspnet:JSON [options] <name>
@@ -2,7 +2,7 @@ Description:
Creates a new HTML file
Example:
- yo aspnet:HTMLPage filename
+ yo aspnet:htmlpage filename
This will create:
filename.html
@@ -10,7 +10,7 @@ util.inherits(NamedGenerator, ScriptBase);
NamedGenerator.prototype.createNamedItem = function() {
this.generateTemplateFile(
- 'HTMLPage.html',
+ 'htmlpage.html',
'.html'
);
};
File renamed without changes.
@@ -366,16 +366,16 @@ describe('Subgenerators with named arguments tests', function() {
util.fileCheck('should create ' + filename + ' file', filename);
});
- describe('aspnet:HTMLPage without extension', function() {
+ describe('aspnet:htmlpage without extension', function() {
var arg = 'mypage';
var filename = 'mypage.html';
- util.goCreateWithArgs('HTMLPage', [arg]);
+ util.goCreateWithArgs('htmlpage', [arg]);
util.fileCheck('should create ' + filename + ' file', filename);
});
- describe('aspnet:HTMLPage with extension', function() {
+ describe('aspnet:htmlpage with extension', function() {
var filename = 'mypage.html';
- util.goCreateWithArgs('HTMLPage', [filename]);
+ util.goCreateWithArgs('htmlpage', [filename]);
util.fileCheck('should create ' + filename + ' file', filename);
});

0 comments on commit 622a483

Please sign in to comment.