Fixed the *nix build
This commit is contained in:
parent
aaecae7824
commit
77d97f66f3
2 changed files with 6 additions and 7 deletions
5
build.sh
5
build.sh
|
@ -1,8 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if ! type dnvm > /dev/null 2>&1; then
|
|
||||||
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# bootstrap!
|
|
||||||
./scripts/bootstrap
|
./scripts/bootstrap
|
|
@ -34,11 +34,15 @@ STAGE0_PUBLISH=$REPOROOT/scripts/stage0/dotnet-publish
|
||||||
export DOTNET_CLR_HOSTS_PATH=$REPOROOT/ext/CLRHost/$RID
|
export DOTNET_CLR_HOSTS_PATH=$REPOROOT/ext/CLRHost/$RID
|
||||||
export DOTNET_CSC_PATH=$REPOROOT/src/cscthingy/bin/Debug/dnxcore50/publish
|
export DOTNET_CSC_PATH=$REPOROOT/src/cscthingy/bin/Debug/dnxcore50/publish
|
||||||
|
|
||||||
|
if ! type dnvm > /dev/null 2>&1; then
|
||||||
|
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing and use-ing the latest CoreCLR x64 DNX ..."
|
echo "Installing and use-ing the latest CoreCLR x64 DNX ..."
|
||||||
call dnvm install latest -u -r coreclr -alias dotnet_bootstrap
|
dnvm install latest -u -r coreclr -alias dotnet_bootstrap
|
||||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
call dnvm use dotnet_bootstrap -r coreclr -arch x64
|
dnvm use dotnet_bootstrap -r coreclr -arch x64
|
||||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
type -p dnx >/dev/null
|
type -p dnx >/dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue