Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-06-15 01:49:11 +0300
committerWes Haggard <Wes.Haggard@microsoft.com>2017-06-15 02:07:40 +0300
commit275854eddb42ae5acbfb4ac00f25b25c734c8a2c (patch)
treeb55d93cb3c2440c9e62fde88415d178257e59ce3 /run.sh
parent76449481b32ed1a7ae0ae46dd596810f6cf11fb5 (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-xrun.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 1e6ce03463..e090ef467c 100755
--- a/run.sh
+++ b/run.sh
@@ -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 $?