PowerShell/publish.sh
Andrew Schwartzmeyer 3876732d2e Add run script
- Deploy profile.ps1xml
- Remove deprecated build/nuke scripts
2015-12-14 10:30:39 -08:00

16 lines
352 B
Bash
Executable file

#!/usr/bin/env bash
# Publish PowerShell
cd src/Microsoft.PowerShell.Linux.Host
dotnet publish --framework dnxcore50 --runtime ubuntu.14.04-x64 --output ../../bin
cp *.ps1xml *_profile.ps1 ../../bin
cd ../..
# Copy Pester
mkdir -p bin/Modules/Pester
cp -r ext-src/pester bin/Modules/Pester
# Patch
cp patches/*.dll bin/
cp patches/runtime/*.so bin/