Bootstrapping on OSX and Linux require mono (mcs specifically)

First pass requires mcs but it works
This commit is contained in:
David Fowler 2015-10-18 04:02:58 -07:00
parent d5d3fd086c
commit 5e21276cd9

View file

@ -25,6 +25,7 @@ if [ -z "$RID" ]; then
fi fi
OUTPUT_ROOT=$REPOROOT/artifacts/$RID OUTPUT_ROOT=$REPOROOT/artifacts/$RID
STAGE0_DIR=$OUTPUT_ROOT/stage0
STAGE1_DIR=$OUTPUT_ROOT/stage1 STAGE1_DIR=$OUTPUT_ROOT/stage1
STAGE2_DIR=$OUTPUT_ROOT/stage2 STAGE2_DIR=$OUTPUT_ROOT/stage2
@ -43,6 +44,11 @@ echo "Running 'dnu restore' to restore packages for DNX-hosted projects"
dnu restore "$REPOROOT" --runtime osx.10.10-x64 --runtime ubuntu.14.04-x64 --runtime osx.10.11-x64 dnu restore "$REPOROOT" --runtime osx.10.10-x64 --runtime ubuntu.14.04-x64 --runtime osx.10.11-x64
# symlink mcs to csc for bootstrapping (requires mono :()
mkdir -p $STAGE0_DIR
ln -s `(which mcs)` $STAGE0_DIR/csc
export PATH=$PATH:$STAGE0_DIR
# Clean up stage1 # Clean up stage1
[ -d "$STAGE1_DIR" ] && rm -Rf "$STAGE1_DIR" [ -d "$STAGE1_DIR" ] && rm -Rf "$STAGE1_DIR"