Merge pull request #193 from cston/package
Add Microsoft.DotNet.Tools.Repl* to install
This commit is contained in:
commit
f5a3ec581d
4 changed files with 10 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -17,12 +17,15 @@ $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",
|
||||
"Microsoft.DotNet.Tools.Init"
|
||||
)
|
||||
|
||||
$BinariesForCoreHost = @(
|
||||
"csi"
|
||||
"csc"
|
||||
"vbc"
|
||||
)
|
||||
|
|
|
@ -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 \
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue