Skip to content

Commit

Permalink
Temporarily fix build scripts due to CLI bug
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andyleejordan committed Jan 29, 2016
1 parent 6f6239a commit 188598e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../..
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 188598e

Please sign in to comment.