ubuntu packaging
This commit is contained in:
parent
94f5326189
commit
a5a0441a84
3 changed files with 12 additions and 10 deletions
BIN
ext/CLRHost/ubuntu.14.04-x64/coreconsole
Executable file
BIN
ext/CLRHost/ubuntu.14.04-x64/coreconsole
Executable file
Binary file not shown.
BIN
ext/CLRHost/ubuntu.14.04-x64/corerun
Executable file
BIN
ext/CLRHost/ubuntu.14.04-x64/corerun
Executable file
Binary file not shown.
|
@ -11,15 +11,17 @@ REPOROOT="$( cd -P "$DIR/.." && pwd )"
|
||||||
|
|
||||||
echo "Bootstrapping dotnet.exe using DNX"
|
echo "Bootstrapping dotnet.exe using DNX"
|
||||||
|
|
||||||
UNAME=$(uname)
|
if [ -z "$RID" ]; then
|
||||||
if [ "$UNAME" == "Darwin" ]; then
|
UNAME=$(uname)
|
||||||
RID=osx.10.10-x64
|
if [ "$UNAME" == "Darwin" ]; then
|
||||||
elif [ "$UNAME" == "Linux" ]; then
|
RID=osx.10.10-x64
|
||||||
# Detect Distro?
|
elif [ "$UNAME" == "Linux" ]; then
|
||||||
RID=ubuntu.14.04-x64
|
# Detect Distro?
|
||||||
else
|
RID=ubuntu.14.04-x64
|
||||||
echo "Unknown OS: $UNAME" 1>&2
|
else
|
||||||
exit 1
|
echo "Unknown OS: $UNAME" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OUTPUT_ROOT=$REPOROOT/artifacts/$RID
|
OUTPUT_ROOT=$REPOROOT/artifacts/$RID
|
||||||
|
@ -39,7 +41,7 @@ fi
|
||||||
|
|
||||||
echo "Running 'dnu restore' to restore packages for DNX-hosted projects"
|
echo "Running 'dnu restore' to restore packages for DNX-hosted projects"
|
||||||
|
|
||||||
dnu restore "$REPOROOT" --runtime osx.10.10-x64 --runtime osx.10.11-x64
|
dnu restore "$REPOROOT" --runtime osx.10.10-x64 --runtime ubuntu.14.04-x64 --runtime osx.10.11-x64
|
||||||
|
|
||||||
# Clean up stage1
|
# Clean up stage1
|
||||||
[ -d "$STAGE1_DIR" ] && rm -Rf "$STAGE1_DIR"
|
[ -d "$STAGE1_DIR" ] && rm -Rf "$STAGE1_DIR"
|
||||||
|
|
Loading…
Reference in a new issue