Temporarily fix build scripts due to CLI bug

Latest versions of .NET CLI ignore --output and instead publish to a
long path inside of it. Until this is resolved properly, we can work
around it by copying to the expected location.

Revert this when CLI is fixed.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-01-28 18:38:57 -08:00
1 parent 6f6239aa60
commit 188598e4ca
2 files changed
+4

No files matched your search

+2
View File
@@ -34,6 +34,8 @@ mkdir -p $BIN/Modules
(
cd src/Microsoft.PowerShell.Linux.Host
dotnet publish --framework dnxcore50 --output $BIN
# Temporary fix for dotnet publish
cp $BIN/Debug/dnxcore50/* $BIN
# Copy files that dotnet-publish does not currently deploy
cp *_profile.ps1 $BIN
)