Change 'pack-exclude' to 'packExclude'

This commit is contained in:
Wei Wang 2014-10-14 16:15:20 -07:00
parent 2766b3a4f0
commit 8d0c6052a7
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"webroot": "wwwroot", "webroot": "wwwroot",
"exclude": [ "wwwroot/**/*.*", "bower_components/**/*.*", "node_modules/**/*.*", "grunt/**/*.*" ], "exclude": [ "wwwroot/**/*.*", "bower_components/**/*.*", "node_modules/**/*.*", "grunt/**/*.*" ],
"pack-exclude": [ "bower.json", "package.json", "gruntfile.js", "bower_components/**/*.*", "node_modules/**/*.*", "grunt/**/*.*" ], "packExclude": [ "bower.json", "package.json", "gruntfile.js", "bower_components/**/*.*", "node_modules/**/*.*", "grunt/**/*.*" ],
"authors": [ "authors": [
"Microsoft" "Microsoft"
], ],

View File

@ -5,7 +5,7 @@
"description": "Music store application on K", "description": "Music store application on K",
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "warningsAsErrors": true, "define": [ "DEMO", "TESTING" ] }, "compilationOptions": { "warningsAsErrors": true, "define": [ "DEMO", "TESTING" ] },
"pack-exclude": "*.cmd", "packExclude": "*.cmd",
"webroot": "wwwroot", "webroot": "wwwroot",
"dependencies": { "dependencies": {
"Kestrel": "1.0.0-*", "Kestrel": "1.0.0-*",

View File

@ -68,7 +68,7 @@ namespace E2ETests
{ {
if (Directory.GetFiles(startParameters.ApplicationPath, "*.cmd", SearchOption.TopDirectoryOnly).Length > 0) if (Directory.GetFiles(startParameters.ApplicationPath, "*.cmd", SearchOption.TopDirectoryOnly).Length > 0)
{ {
throw new Exception("pack-exclude parameter values are not honored"); throw new Exception("packExclude parameter values are not honored");
} }
} }