PowerShell/build.sh

18 lines
333 B
Bash
Raw Normal View History

#!/usr/bin/env bash
export BIN=$(pwd)/bin
2016-02-10 22:05:46 +01:00
mkdir -p $BIN
# Build native components
2016-02-10 22:05:46 +01:00
pushd src/libpsl-native
cmake -DCMAKE_BUILD_TYPE=Debug .
make -j
ctest -V
cp src/libpsl-native.* $BIN
popd
2015-12-10 21:33:52 +01:00
# Publish PowerShell
2016-02-10 22:05:46 +01:00
pushd src/Microsoft.PowerShell.Linux.Host
dotnet publish --framework dnxcore50 --output $BIN --configuration Linux
popd