Add Microsoft.DotNet.Tools.Repl* to install

This commit is contained in:
Charles Stoner 2015-11-13 13:32:21 -08:00
parent 1c6087b8e1
commit 722dd721b0
4 changed files with 10 additions and 2 deletions

View file

@ -36,6 +36,8 @@
"dotnet-compile" : "usr/bin/dotnet-compile", "dotnet-compile" : "usr/bin/dotnet-compile",
"dotnet-compile-csc" : "usr/bin/dotnet-compile-csc", "dotnet-compile-csc" : "usr/bin/dotnet-compile-csc",
"dotnet-publish" : "usr/bin/dotnet-publish", "dotnet-publish" : "usr/bin/dotnet-publish",
"dotnet-repl" : "usr/bin/dotnet-repl",
"dotnet-repl-csi" : "usr/bin/dotnet-repl-csi",
"dotnet-restore" : "usr/bin/dotnet-restore", "dotnet-restore" : "usr/bin/dotnet-restore",
"resgen" : "usr/bin/resgen" "resgen" : "usr/bin/resgen"
} }

View file

@ -17,11 +17,14 @@ $Projects = @(
"Microsoft.DotNet.Tools.Compiler.Csc", "Microsoft.DotNet.Tools.Compiler.Csc",
"Microsoft.DotNet.Tools.Pack", "Microsoft.DotNet.Tools.Pack",
"Microsoft.DotNet.Tools.Publish", "Microsoft.DotNet.Tools.Publish",
"Microsoft.DotNet.Tools.Repl",
"Microsoft.DotNet.Tools.Repl.Csi",
"Microsoft.DotNet.Tools.Resgen", "Microsoft.DotNet.Tools.Resgen",
"Microsoft.DotNet.Tools.Run" "Microsoft.DotNet.Tools.Run"
) )
$BinariesForCoreHost = @( $BinariesForCoreHost = @(
"csi"
"csc" "csc"
"vbc" "vbc"
) )

View file

@ -29,11 +29,14 @@ PROJECTS=( \
Microsoft.DotNet.Tools.Compiler.Csc \ Microsoft.DotNet.Tools.Compiler.Csc \
Microsoft.DotNet.Tools.Publish \ Microsoft.DotNet.Tools.Publish \
Microsoft.DotNet.Tools.Pack \ Microsoft.DotNet.Tools.Pack \
Microsoft.DotNet.Tools.Repl \
Microsoft.DotNet.Tools.Repl.Csi \
Microsoft.DotNet.Tools.Resgen \ Microsoft.DotNet.Tools.Resgen \
Microsoft.DotNet.Tools.Run \ Microsoft.DotNet.Tools.Run \
) )
BINARIES_FOR_COREHOST=( \ BINARIES_FOR_COREHOST=( \
csi \
csc \ csc \
vbc \ vbc \
) )

View file

@ -75,8 +75,8 @@ Add-Type -Assembly System.IO.Compression.FileSystem | Out-Null
[System.IO.Compression.ZipFile]::ExtractToDirectory("$InstallDir\$DotNetFileName", "$InstallDir\cli_new") [System.IO.Compression.ZipFile]::ExtractToDirectory("$InstallDir\$DotNetFileName", "$InstallDir\cli_new")
# Replace the old installation (if any) # Replace the old installation (if any)
if (Test-Path "$InstallPath\cli") { if (Test-Path "$InstallDir\cli") {
del -rec -for "$InstallPath\cli" del -rec -for "$InstallDir\cli"
} }
mv "$InstallDir\cli_new" "$InstallDir\cli" mv "$InstallDir\cli_new" "$InstallDir\cli"