Make build.cmd and build.sh work

This commit is contained in:
David Fowler 2015-10-18 23:29:51 -07:00
parent f24aeae6b2
commit aaecae7824
4 changed files with 20 additions and 71 deletions

View file

@ -34,6 +34,13 @@ STAGE0_PUBLISH=$REPOROOT/scripts/stage0/dotnet-publish
export DOTNET_CLR_HOSTS_PATH=$REPOROOT/ext/CLRHost/$RID
export DOTNET_CSC_PATH=$REPOROOT/src/cscthingy/bin/Debug/dnxcore50/publish
echo "Installing and use-ing the latest CoreCLR x64 DNX ..."
call dnvm install latest -u -r coreclr -alias dotnet_bootstrap
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
call dnvm use dotnet_bootstrap -r coreclr -arch x64
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
type -p dnx >/dev/null
if [ ! $? ]; then
echo "DNX is required to bootstrap stage1" 1>&2