Check for the existence of msbuild.exe as well.
This commit is contained in:
parent
999a1902eb
commit
f5cbeacdb2
@ -165,12 +165,15 @@ fi
|
|||||||
if $omnisharp_completer; then
|
if $omnisharp_completer; then
|
||||||
buildcommand="msbuild"
|
buildcommand="msbuild"
|
||||||
if ! command_exists msbuild; then
|
if ! command_exists msbuild; then
|
||||||
|
buildcommand="msbuild.exe"
|
||||||
|
if ! command_exists msbuild.exe; then
|
||||||
buildcommand="xbuild"
|
buildcommand="xbuild"
|
||||||
if ! command_exists xbuild; then
|
if ! command_exists xbuild; then
|
||||||
echo "msbuild or xbuild is required to build Omnisharp"
|
echo "msbuild or xbuild is required to build Omnisharp"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
ycm_dir=`pwd`
|
ycm_dir=`pwd`
|
||||||
build_dir=$ycm_dir"/python/ycm/completers/cs/OmniSharpServer"
|
build_dir=$ycm_dir"/python/ycm/completers/cs/OmniSharpServer"
|
||||||
|
Loading…
Reference in New Issue
Block a user