bc7030dae0
If `powershell` is installed, run `Start-PSBuild` to ensure DWIM. Else, direct user to Linux / OS X build documentation. Resolves #767.
8 lines
241 B
Bash
Executable file
8 lines
241 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if hash powershell 2>/dev/null; then
|
|
echo 'Continuing with `powershell -c Start-PSBuild`'
|
|
powershell -c Start-PSBuild
|
|
else
|
|
echo 'No `powershell`, see docs/building/linux.md or osx.md to build PowerShell!'
|
|
fi
|