2015-11-13 22:54:44 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2015-12-10 21:33:52 +01:00
|
|
|
# Publish PowerShell
|
2015-11-24 02:48:34 +01:00
|
|
|
cd src/Microsoft.PowerShell.Linux.Host
|
2015-12-04 00:14:30 +01:00
|
|
|
dotnet publish --framework dnxcore50 --runtime ubuntu.14.04-x64 --output ../../bin
|
2015-12-08 21:05:04 +01:00
|
|
|
cp *.ps1xml ../../bin
|
2015-11-24 02:48:34 +01:00
|
|
|
cd ../..
|
2015-12-10 21:33:52 +01:00
|
|
|
|
|
|
|
# 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/
|