switch from DNX to cross-plat NuGet!
This commit is contained in:
parent
4e0d28db74
commit
3d493f7d9d
43 changed files with 241 additions and 181 deletions
|
@ -93,19 +93,9 @@ if (-not (Test-Path "$OutputDir\bin\csc.ni.exe")) {
|
|||
_cmd "$RepoRoot\scripts\crossgen\crossgen_roslyn.cmd ""$OutputDir"""
|
||||
}
|
||||
|
||||
# Copy dnx into stage OutputDir
|
||||
if (-not (Test-Path "$OutputDir\bin\dnx\")) {
|
||||
cp -rec "$DnxRoot\" "$OutputDir\bin\dnx\"
|
||||
}
|
||||
|
||||
# Copy in the dotnet-dnx script
|
||||
if (-not (Test-Path "$OutputDir\bin\dotnet-dnx.cmd")) {
|
||||
cp "$RepoRoot\scripts\dotnet-dnx.cmd" "$OutputDir\bin\dotnet-dnx.cmd"
|
||||
}
|
||||
|
||||
# Copy in AppDeps
|
||||
if (-not (Test-Path "$OutputDir\bin\appdepsdk\")) {
|
||||
$env:PATH = "$OutputDir\bin;$StartPath"
|
||||
header "Acquiring Native App Dependencies"
|
||||
_cmd "$RepoRoot\scripts\build\build_appdeps.cmd ""$OutputDir"""
|
||||
header "Acquiring Native App Dependencies"
|
||||
_cmd "$RepoRoot\scripts\build\build_appdeps.cmd ""$OutputDir"""
|
||||
}
|
||||
|
|
|
@ -105,17 +105,6 @@ fi
|
|||
# Make OUTPUT_DIR Folder Accessible
|
||||
chmod -R a+r $OUTPUT_DIR
|
||||
|
||||
# Copy DNX in to OUTPUT_DIR
|
||||
if [ ! -d $OUTPUT_DIR/bin/dnx ]; then
|
||||
cp -R $DNX_ROOT $OUTPUT_DIR/bin/dnx
|
||||
fi
|
||||
|
||||
# Copy and CHMOD the dotnet-dnx script
|
||||
if [ ! -f $OUTPUT_DIR/bin/dotnet-dnx ]; then
|
||||
cp $REPOROOT/scripts/dotnet-dnx.sh $OUTPUT_DIR/bin/dotnet-dnx
|
||||
chmod a+x $OUTPUT_DIR/bin/dotnet-dnx
|
||||
fi
|
||||
|
||||
# No compile native support in centos yet
|
||||
# https://github.com/dotnet/cli/issues/453
|
||||
if [ "$OSNAME" != "centos" ]; then
|
||||
|
|
|
@ -20,4 +20,4 @@ $REPOROOT/scripts/compile/compile-corehost.sh
|
|||
|
||||
$REPOROOT/scripts/compile/compile-stage-1.sh
|
||||
|
||||
$REPOROOT/scripts/compile/compile-stage-2.sh
|
||||
$REPOROOT/scripts/compile/compile-stage-2.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue