copy the exe from the batch file, not the project

This commit is contained in:
isanae
2020-05-13 15:09:03 -04:00
parent 91379059f4
commit 5150513658
2 changed files with 7 additions and 3 deletions
+7
View File
@@ -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