From 188598e4caf9cf87b5b32df3b272ec96cf5d4633 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 28 Jan 2016 18:38:57 -0800 Subject: [PATCH] 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. --- build.ps1 | 2 ++ build.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/build.ps1 b/build.ps1 index 9d41a26ca..40b19e32e 100755 --- a/build.ps1 +++ b/build.ps1 @@ -11,6 +11,8 @@ cd ../.. # Publish PowerShell 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 cd ../.. diff --git a/build.sh b/build.sh index df4dafb3a..e0b2340c8 100755 --- a/build.sh +++ b/build.sh @@ -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 )