Remove temporary dotnet-publish workaround
Latest dotnet-nightly packages have not required this.
This commit is contained in:
parent
89d62012e8
commit
17a50a9f91
|
@ -16,9 +16,6 @@ try
|
|||
cd ..\..\src\Microsoft.PowerShell.Commands.Management
|
||||
dotnet publish --framework dnx451 --output $BINFULL
|
||||
|
||||
# Temporary fix for dotnet publish
|
||||
if (Test-Path $BINFULL/Debug/dnx451) { cp $BINFULL/Debug/dnx451/* $BINFULL }
|
||||
|
||||
# build native host
|
||||
mkdir $build -ErrorAction SilentlyContinue
|
||||
cd $build
|
||||
|
|
|
@ -15,8 +15,6 @@ cd ../..
|
|||
# Publish PowerShell
|
||||
cd src/Microsoft.PowerShell.Linux.Host
|
||||
dotnet publish --framework dnxcore50 --output $BIN
|
||||
# Temporary fix for dotnet publish
|
||||
if (Test-Path $BIN/Debug/dnxcore50) { cp $BIN/Debug/dnxcore50/* $BIN }
|
||||
# Copy files that dotnet-publish does not currently deploy
|
||||
cp *_profile.ps1 $BIN
|
||||
cd ../..
|
||||
|
|
2
build.sh
2
build.sh
|
@ -38,8 +38,6 @@ mkdir -p $BIN/Modules
|
|||
(
|
||||
cd src/Microsoft.PowerShell.Linux.Host
|
||||
dotnet publish --framework dnxcore50 --output $BIN --configuration Linux
|
||||
# Temporary fix for dotnet publish
|
||||
[[ -d $BIN/Debug/dnxcore50 ]] && cp $BIN/Debug/dnxcore50/* $BIN
|
||||
# Copy files that dotnet-publish does not currently deploy
|
||||
cp *_profile.ps1 $BIN
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue