diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-06-15 01:49:11 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-06-15 02:07:40 +0300 |
commit | 275854eddb42ae5acbfb4ac00f25b25c734c8a2c (patch) | |
tree | b55d93cb3c2440c9e62fde88415d178257e59ce3 /run.sh | |
parent | 76449481b32ed1a7ae0ae46dd596810f6cf11fb5 (diff) |
Add option to build.cmd/sh to build projects in a directory
After this option folks can do the following:
- Build all System.Collections projects
build.cmd/sh System.Collections
- Build System.Collection test projects (also runs tests)
build.cmd/sh src/System.Collections/tests
- While in a library directory build it all projects under it.
cd src\System.Collections
build.cmd/sh .
These also support any of the standard build options like framework,
flavor, os, allconfigurations, etc. Same rules apply that you have to
have built the entire tree for that configuration before this will
succeed.
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,5 +8,6 @@ __scriptpath=$(cd "$(dirname "$0")"; pwd -P) __toolRuntime=$__scriptpath/Tools __dotnet=$__toolRuntime/dotnetcli/dotnet -$__dotnet $__toolRuntime/run.exe $* +cd $__scriptpath +$__dotnet $__toolRuntime/run.exe $__scriptpath/config.json $* exit $? |