Fixed bootstrapping on osx/linux
- This won’t fully work since we need to download a precanned build from somewhere.
This commit is contained in:
parent
3495781233
commit
d5d3fd086c
7 changed files with 24 additions and 29 deletions
|
@ -48,8 +48,11 @@ dnu restore "$REPOROOT" --runtime osx.10.10-x64 --runtime ubuntu.14.04-x64 --run
|
|||
|
||||
echo "Building basic dotnet tools using Stage 0 (DNX hosted)"
|
||||
$STAGE0_PUBLISH --framework dnxcore50 --runtime $RID --output "$STAGE1_DIR" "$REPOROOT/src/Microsoft.DotNet.Cli"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
$STAGE0_PUBLISH --framework dnxcore50 --runtime $RID --output "$STAGE1_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Compiler"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
$STAGE0_PUBLISH --framework dnxcore50 --runtime $RID --output "$STAGE1_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Compiler.Csc"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
$STAGE0_PUBLISH --framework dnxcore50 --runtime $RID --output "$STAGE1_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Publish"
|
||||
|
||||
# Add stage1 to the path and use it to build stage2
|
||||
|
@ -57,6 +60,10 @@ export PATH=$STAGE1_DIR:$PATH
|
|||
|
||||
echo "Building stage2 dotnet using stage1 ..."
|
||||
dotnet publish --framework dnxcore50 --runtime $RID --output "$STAGE2_DIR" "$REPOROOT/src/Microsoft.DotNet.Cli"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
dotnet publish --framework dnxcore50 --runtime $RID --output "$STAGE2_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Compiler"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
dotnet publish --framework dnxcore50 --runtime $RID --output "$STAGE2_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Compiler.Csc"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
dotnet publish --framework dnxcore50 --runtime $RID --output "$STAGE2_DIR" "$REPOROOT/src/Microsoft.DotNet.Tools.Publish"
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue