Deploy new build.

This commit is contained in:
Randy Thiemann 2023-10-28 15:07:57 +02:00
parent 4fa9f68107
commit 04ff7a70a5
3 changed files with 19 additions and 14 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,21 +1,26 @@
@echo off @echo off
cd /D "%~dp0" cd /D "%~dp0"
make clean echo Cleaning up...
make clean > NUL
del /Q src\include\hardware.inc echo Making pocket version...
copy src\include\hardware.analogue src\include\hardware.inc del /Q src\include\hardware.inc > NUL
make copy src\include\hardware.analogue src\include\hardware.inc > NUL
make > NUL
ren bin\DMGTRIS.GBC DMGTRIS.pocket echo Fixing pocket version header...
python patch_pocket.py ren bin\DMGTRIS.GBC DMGTRIS.pocket > NUL
python patch_pocket.py > NUL
rgbfix -fhg -O bin\DMGTRIS.pocket > NUL
rd /S /Q obj echo Making GB version...
rd /S /Q dep rd /S /Q obj > NUL
rd /S /Q dep > NUL
del /Q src\include\hardware.inc > NUL
copy src\include\hardware.nintendo src\include\hardware.inc > NUL
make > NUL
del /Q src\include\hardware.inc echo Pushing new version...
copy src\include\hardware.nintendo src\include\hardware.inc git add . > NUL
make git commit -am "Deploy new build." > NUL
git add .
git commit -am "Deploy new build."
git push git push