2015-11-13 22:54:44 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2015-12-16 22:01:21 +01:00
|
|
|
export BIN=$(pwd)/bin
|
|
|
|
|
2015-12-14 19:36:40 +01:00
|
|
|
# Build native components
|
|
|
|
(
|
2016-01-14 19:32:02 +01:00
|
|
|
cd src/libpsl-native
|
2015-12-14 19:36:40 +01:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug .
|
|
|
|
make -j
|
2015-12-16 22:01:21 +01:00
|
|
|
ctest -V
|
2016-01-15 08:16:43 +01:00
|
|
|
cp src/libpsl-native.* $BIN
|
2015-12-16 22:01:21 +01:00
|
|
|
)
|
|
|
|
|
2015-12-10 21:33:52 +01:00
|
|
|
# Publish PowerShell
|
2015-12-14 19:36:40 +01:00
|
|
|
(
|
|
|
|
cd src/Microsoft.PowerShell.Linux.Host
|
2016-02-02 20:52:26 +01:00
|
|
|
dotnet publish --framework dnxcore50 --output $BIN --configuration Linux
|
2015-12-23 02:03:14 +01:00
|
|
|
# Copy files that dotnet-publish does not currently deploy
|
|
|
|
)
|