Implemented while
This commit is contained in:
@@ -5,23 +5,22 @@ pushd %~dp0
|
||||
set exeName=slime.exe
|
||||
set binDir=bin
|
||||
|
||||
mkdir quickbuild 2>nul
|
||||
pushd quickbuild
|
||||
mkdir build 2>nul
|
||||
pushd build
|
||||
|
||||
taskkill /F /IM %exeName% > NUL 2> NUL
|
||||
|
||||
echo ---------- Compiling ----------
|
||||
call timecmd cl ../src/main.c /Fe%exeName% /W3 /Ox /O2 /Oi /TC /nologo /EHsc /link
|
||||
call timecmd cl ../src/main.c /Fe%exeName% /D_DEBUG /W3 /TC /Zi /nologo /EHsc /link
|
||||
|
||||
if %errorlevel% == 0 (
|
||||
echo.
|
||||
if not exist ..\%binDir% mkdir ..\%binDir%
|
||||
move %exeName% ..\%binDir%\ > NUL
|
||||
echo Done
|
||||
) else (
|
||||
echo.
|
||||
echo Fucki'n 'ell
|
||||
echo Fuckin' ell
|
||||
)
|
||||
|
||||
popd
|
||||
rd quickbuild /S /Q
|
||||
rem rd build /S /Q
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user