diff --git a/bootstrap.bat b/bootstrap.bat index 87b4281..c33dcea 100644 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -30,4 +30,11 @@ set "opts=%opts% -clp:ErrorsOnly;Verbosity=minimal" set "vcvars=%installation_path%\VC\Auxiliary\Build\vcvarsall.bat" cmd /c ""%vcvars%" amd64 > NUL && msbuild %opts%" + +if %errorlevel% neq 0 ( + echo build failed + exit /b 1 +) + +copy "build\Release\x64\mob.exe" .\mob.exe > NUL echo run `mob -d path` to start building diff --git a/vs/props.props b/vs/props.props index 25421c6..ef97b11 100644 --- a/vs/props.props +++ b/vs/props.props @@ -27,9 +27,6 @@ ..\third-party\lib;%(AdditionalLibraryDirectories) Ws2_32.lib;Crypt32.lib;Wldap32.lib;Shlwapi.lib;%(AdditionalDependencies) - - copy $(TargetPath) $(ProjectDir)..\ - \ No newline at end of file