mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
This way it can also be deployed automatically, removing the last manual copy steps from our build scripts. Travis and AppVeyor configurations updated for new submodule location.
20 lines
402 B
Bash
Executable File
20 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
export BIN=$(pwd)/bin
|
|
|
|
# Build native components
|
|
(
|
|
cd src/libpsl-native
|
|
cmake -DCMAKE_BUILD_TYPE=Debug .
|
|
make -j
|
|
ctest -V
|
|
cp src/libpsl-native.* $BIN
|
|
)
|
|
|
|
# Publish PowerShell
|
|
(
|
|
cd src/Microsoft.PowerShell.Linux.Host
|
|
dotnet publish --framework dnxcore50 --output $BIN --configuration Linux
|
|
# Copy files that dotnet-publish does not currently deploy
|
|
)
|