PowerShell/build.sh
2016-05-18 14:25:17 -07:00

9 lines
293 B
Bash
Executable file

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