Newer
Older
invertedlogic / InvertedLogic / iLFramework / fix-build-loop.bat
@John Ryland John Ryland on 10 Nov 2019 557 bytes rename
@echo off

:start

rem Setup path
set ORIG_PATH=%PATH%
set PATH=C:\PortableApps\PortableApps\QDevelop\bin;%PATH%
rem set PATH=C:\MinGW\bin;%PATH%

rem  Change in to the directory this bat file is in
cd "%~dp0"

rem  Build the project
rem mkdir build
rem mkdir bin

rem make
mingw32-make

rem  Run the program if it built
if %ERRORLEVEL% == 0 goto run
goto dontRun
:run
cd bin
rem strip -s -S --strip-unneeded -x -X Tweakables.exe
Tweakables.exe
cd ..
:dontRun

rem Reset
set PATH=%ORIG_PATH%

rem  Wait
pause

goto start