Improve build scripts and move them to scripts/

This commit is contained in:
Kamil Trzciński 2022-11-26 13:54:20 +01:00
parent 5d653a3342
commit 43abc56a41
9 changed files with 100 additions and 28 deletions

15
scripts/run_loop.bat Normal file
View file

@ -0,0 +1,15 @@
if not "%1"=="am_admin" (powershell start -verb runas '%0' 'am_admin,%1' & exit /b)
if "%2"=="" (echo missing name & timeout /t 3 & exit /b)
cd "%~dp0"
:retry
taskkill /F /IM "%1.exe"
del %1\bin\Debug\net6.0-windows\%1.exe
dotnet build
%1\bin\Debug\net6.0-windows\%1.exe
timeout /t 3
goto retry