Files
PowerShell/publish.sh
T

24 lines
465 B
Bash
Executable File

#!/usr/bin/env bash
# Build native components
(
cd src/monad-native
cmake -DCMAKE_BUILD_TYPE=Debug .
make -j
)
# Publish PowerShell
(
cd src/Microsoft.PowerShell.Linux.Host
dotnet publish --framework dnxcore50 --runtime ubuntu.14.04-x64 --output ../../bin
cp *.ps1xml *_profile.ps1 ../../bin
)
# 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/