mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix handling of bin directory
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export BIN=$(pwd)/bin
|
||||
mkdir -p $BIN
|
||||
|
||||
# Build native components
|
||||
(
|
||||
cd src/libpsl-native
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug .
|
||||
make -j
|
||||
ctest -V
|
||||
cp src/libpsl-native.* $BIN
|
||||
)
|
||||
pushd src/libpsl-native
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug .
|
||||
make -j
|
||||
ctest -V
|
||||
cp src/libpsl-native.* $BIN
|
||||
popd
|
||||
|
||||
# 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
|
||||
)
|
||||
pushd src/Microsoft.PowerShell.Linux.Host
|
||||
dotnet publish --framework dnxcore50 --output $BIN --configuration Linux
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user