PowerShell/build.sh

9 lines
271 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if hash powershell 2>/dev/null; then
echo 'Continuing with `powershell -c Start-PSBuild`'
powershell -c "Import-Module ./build.psm1; Start-PSBuild"
else
echo 'No `powershell`, see docs/building/linux.md or osx.md to build PowerShell!'
fi