mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
24 lines
465 B
Bash
Executable File
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/
|