2015-11-13 21:54:44 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2016-04-07 21:18:12 +00:00
|
|
|
if hash powershell 2>/dev/null; then
|
2016-05-18 21:24:08 +00:00
|
|
|
echo 'Continuing with `powershell -noprofile -c Start-PSBuild`'
|
|
|
|
powershell -noprofile -c "Import-Module ./build.psm1; Start-PSBuild"
|
2016-04-07 21:18:12 +00:00
|
|
|
else
|
|
|
|
echo 'No `powershell`, see docs/building/linux.md or osx.md to build PowerShell!'
|
|
|
|
fi
|