create dotnet-restore.exe
This commit is contained in:
parent
12edb9adb4
commit
08dd628172
17 changed files with 339 additions and 9 deletions
|
@ -11,4 +11,7 @@ $env:PATH = "$env:DOTNET_INSTALL_DIR\cli\bin;$StartPath"
|
|||
|
||||
_ "$RepoRoot\scripts\compile\compile-stage.ps1" @("$Tfm","$Rid","$Configuration","$Stage1Dir","$RepoRoot","$HostDir")
|
||||
|
||||
# Copy dnx into stage 1
|
||||
cp -rec "$DnxRoot\" "$Stage1Dir\bin\dnx\"
|
||||
|
||||
$env:PATH=$StartPath
|
|
@ -23,4 +23,11 @@ export PATH=$DOTNET_INSTALL_DIR/bin:$PATH
|
|||
header "Building stage1 dotnet using downloaded stage0 ..."
|
||||
OUTPUT_DIR=$STAGE1_DIR $REPOROOT/scripts/compile/compile-stage.sh
|
||||
|
||||
# Copy DNX in to stage1
|
||||
cp -R $DNX_ROOT $STAGE1_DIR/bin/dnx
|
||||
|
||||
# Copy and CHMOD the dotnet-dnx script
|
||||
cp $REPOROOT/scripts/dotnet-dnx.sh $STAGE1_DIR/bin/dotnet-dnx
|
||||
chmod a+x $STAGE1_DIR/bin/dotnet-dnx
|
||||
|
||||
export PATH=$StartPath
|
|
@ -22,6 +22,7 @@ $Projects = @(
|
|||
"Microsoft.DotNet.Tools.New",
|
||||
"Microsoft.DotNet.Tools.Pack",
|
||||
"Microsoft.DotNet.Tools.Publish",
|
||||
"dotnet-restore",
|
||||
"Microsoft.DotNet.Tools.Repl",
|
||||
"Microsoft.DotNet.Tools.Repl.Csi",
|
||||
"Microsoft.DotNet.Tools.Resgen",
|
||||
|
@ -92,8 +93,8 @@ _cmd "$RepoRoot\scripts\crossgen\crossgen_roslyn.cmd ""$OutputDir"""
|
|||
# Copy dnx into stage OutputDir
|
||||
cp -rec "$DnxRoot\" "$OutputDir\bin\dnx\"
|
||||
|
||||
# Copy in the dotnet-restore script
|
||||
cp "$RepoRoot\scripts\dotnet-restore.cmd" "$OutputDir\bin\dotnet-restore.cmd"
|
||||
# Copy in the dotnet-dnx script
|
||||
cp "$RepoRoot\scripts\dotnet-dnx.cmd" "$OutputDir\bin\dotnet-dnx.cmd"
|
||||
|
||||
# Copy in AppDeps
|
||||
$env:PATH = "$OutputDir\bin;$StartPath"
|
||||
|
|
|
@ -35,6 +35,7 @@ PROJECTS=( \
|
|||
Microsoft.DotNet.Tools.Publish \
|
||||
Microsoft.DotNet.Tools.Repl \
|
||||
Microsoft.DotNet.Tools.Repl.Csi \
|
||||
dotnet-restore \
|
||||
Microsoft.DotNet.Tools.Resgen \
|
||||
Microsoft.DotNet.Tools.Run \
|
||||
Microsoft.DotNet.Tools.Test \
|
||||
|
@ -102,9 +103,9 @@ chmod -R a+r $OUTPUT_DIR
|
|||
# Copy DNX in to OUTPUT_DIR
|
||||
cp -R $DNX_ROOT $OUTPUT_DIR/bin/dnx
|
||||
|
||||
# Copy and CHMOD the dotnet-restore script
|
||||
cp $REPOROOT/scripts/dotnet-restore.sh $OUTPUT_DIR/bin/dotnet-restore
|
||||
chmod a+x $OUTPUT_DIR/bin/dotnet-restore
|
||||
# Copy and CHMOD the dotnet-dnx script
|
||||
cp $REPOROOT/scripts/dotnet-dnx.sh $OUTPUT_DIR/bin/dotnet-dnx
|
||||
chmod a+x $OUTPUT_DIR/bin/dotnet-dnx
|
||||
|
||||
# No compile native support in centos yet
|
||||
# https://github.com/dotnet/cli/issues/453
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue