Permalink
Browse files

Rename CoffeeScript to lower case

  • Loading branch information...
1 parent d1e2841 commit 49f0149649be1e2daab172025caddd7f7d9d750a @peterblazejewicz peterblazejewicz committed Jul 24, 2016
View
@@ -102,7 +102,7 @@ The alphabetic list of available sub generators (_to create files after the proj
* [aspnet:appsettings](#appsettings)
* [aspnet:bowerjson](#bowerjson)
* [aspnet:class](#class)
-* [aspnet:CoffeeScript](#coffeescript)
+* [aspnet:coffeescript](#coffeescript)
* [aspnet:Dockerfile](#dockerfile)
* [aspnet:gitignore](#gitignore)
* [aspnet:Gruntfile](#gruntfile)
@@ -244,14 +244,14 @@ Produces `/Contact.cs`
[Return to top](#top)
-### CoffeeScript
+### coffeescript
Creates a new CoffeeScript file
Example:
```
-yo aspnet:CoffeeScript filename
+yo aspnet:coffeescript filename
```
Produces `filename.coffee`
View
@@ -12,7 +12,7 @@ Subgenerators:
yo aspnet:appsettings [options]
yo aspnet:bowerjson [options]
yo aspnet:class [options] <name>
- yo aspnet:CoffeeScript [options] <name>
+ yo aspnet:coffeescript [options] <name>
yo aspnet:Dockerfile [options]
yo aspnet:gitignore [options]
yo aspnet:Gruntfile [options]
@@ -2,7 +2,7 @@ Description:
Creates a new CoffeeScript file
Example:
- yo aspnet:CoffeeScript filename
+ yo aspnet:coffeescript filename
This will create:
filename.coffee
@@ -10,7 +10,7 @@ util.inherits(NamedGenerator, ScriptBase);
NamedGenerator.prototype.createNamedItem = function() {
this.generateTemplateFile(
- 'CoffeeScript.coffee',
+ 'coffeescript.coffee',
'.coffee'
);
};
File renamed without changes.
@@ -353,16 +353,16 @@ describe('Subgenerators with named arguments tests', function() {
util.fileContentCheck(filename, 'Check file content', 'namespace emptyTest');
});
- describe('aspnet:CoffeeScript without extension', function() {
+ describe('aspnet:coffeescript without extension', function() {
var arg = 'file';
var filename = 'file.coffee';
- util.goCreateWithArgs('CoffeeScript', [arg]);
+ util.goCreateWithArgs('coffeescript', [arg]);
util.fileCheck('should create ' + filename + ' file', filename);
});
- describe('aspnet:CoffeeScript with extension', function() {
+ describe('aspnet:coffeescript with extension', function() {
var filename = 'file.coffee';
- util.goCreateWithArgs('CoffeeScript', [filename]);
+ util.goCreateWithArgs('coffeescript', [filename]);
util.fileCheck('should create ' + filename + ' file', filename);
});

0 comments on commit 49f0149

Please sign in to comment.