PowerShell/build.sh
Andrew Schwartzmeyer 9fc0dd451b Import-Module PowerShellGitHubDev in build.sh
Make it Do What I Mean.
2016-04-13 18:56:23 -07:00

9 lines
285 B
Bash
Executable file

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