summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-11-08 15:11:18 +0100
committerJacek Blaszczynski <biosciencenow@outlook.com>2017-11-08 15:11:18 +0100
commit8110e41350f33cee45e3a20725cce997b4892452 (patch)
treed0db75b7a980ef1d28b2fddb621bcc612a73f2ab /config.json
parent37a0e349970b1a1710b9067398124dd42691a3e8 (diff)
downloadcoreclr-8110e41350f33cee45e3a20725cce997b4892452.tar.gz
coreclr-8110e41350f33cee45e3a20725cce997b4892452.tar.bz2
coreclr-8110e41350f33cee45e3a20725cce997b4892452.zip
Refactor clean.cmd based on corefx implementation
clean.cmd supports removal of bin dir, repo-local nuget packeges directory and user-local nuget packages directory. In addition it is possible to clean repo using git clean -xdf command by passing -all command line switch to clean.cmd. In addition logic supporting killing of VBCScompiler.exe process is added
Diffstat (limited to 'config.json')
-rw-r--r--config.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/config.json b/config.json
index 69d8a5f451..1927340cde 100644
--- a/config.json
+++ b/config.json
@@ -36,6 +36,24 @@
"values": [],
"defaultValue": ""
},
+ "CleanAllProjects": {
+ "description": "MsBuild target that deletes the binary output directory.",
+ "valueType": "target",
+ "values": [],
+ "defaultValue": ""
+ },
+ "CleanPackages": {
+ "description": "MsBuild target that deletes the repo-local nuget package directory.",
+ "valueType": "target",
+ "values": [],
+ "defaultValue": ""
+ },
+ "CleanPackagesCache": {
+ "description": "MsBuild target that deletes the user-local nuget package cache.",
+ "valueType": "target",
+ "values": [],
+ "defaultValue": ""
+ },
"ContainerName": {
"description": "Container name for Azure upload.",
"valueType": "property",
@@ -519,6 +537,34 @@
}
}
},
+ "clean": {
+ "alias": {
+ "b": {
+ "description": "Deletes the binary output directory.",
+ "settings": {
+ "CleanAllProjects": "default"
+ }
+ },
+ "p": {
+ "description": "Deletes the repo-local nuget package directory.",
+ "settings": {
+ "CleanPackages": "default"
+ }
+ },
+ "c": {
+ "description": "Deletes the user-local nuget package cache.",
+ "settings": {
+ "CleanPackagesCache": "default"
+ }
+ }
+ },
+ "defaultValues": {
+ "toolName": "msbuild",
+ "settings": {
+ "MsBuildLog":"/flp:v=normal;LogFile=clean.log"
+ }
+ }
+ },
"sync": {
"alias": {
"p": {