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-csc" : "usr/bin/dotnet-compile-csc",
"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",
"resgen" : "usr/bin/resgen"
}

View file

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

View file

@ -29,11 +29,14 @@ PROJECTS=( \
Microsoft.DotNet.Tools.Compiler.Csc \
Microsoft.DotNet.Tools.Publish \
Microsoft.DotNet.Tools.Pack \
Microsoft.DotNet.Tools.Repl \
Microsoft.DotNet.Tools.Repl.Csi \
Microsoft.DotNet.Tools.Resgen \
Microsoft.DotNet.Tools.Run \
)
BINARIES_FOR_COREHOST=( \
csi \
csc \
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")
# Replace the old installation (if any)
if (Test-Path "$InstallPath\cli") {
del -rec -for "$InstallPath\cli"
if (Test-Path "$InstallDir\cli") {
del -rec -for "$InstallDir\cli"
}
mv "$InstallDir\cli_new" "$InstallDir\cli"