Bootstrapping on OSX and Linux require mono (mcs specifically)
First pass requires mcs but it works
This commit is contained in:
parent
d5d3fd086c
commit
5e21276cd9
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,7 @@ if [ -z "$RID" ]; then
|
|||
fi
|
||||
|
||||
OUTPUT_ROOT=$REPOROOT/artifacts/$RID
|
||||
STAGE0_DIR=$OUTPUT_ROOT/stage0
|
||||
STAGE1_DIR=$OUTPUT_ROOT/stage1
|
||||
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
|
||||
|
||||
# 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
|
||||
[ -d "$STAGE1_DIR" ] && rm -Rf "$STAGE1_DIR"
|
||||
|
||||
|
|
Loading…
Reference in a new issue