reducing scripts duplication

This commit is contained in:
rusefi 2019-06-08 10:49:27 -04:00
parent 0fc028f603
commit baf7b3f8d2
1 changed files with 5 additions and 12 deletions

View File

@ -27,19 +27,12 @@ call misc\jenkins\compile_other_versions\build_version.bat
echo %script_name%: Done with F767-nucleo echo %script_name%: Done with F767-nucleo
cd firmware
call clean.bat
cd ..
echo %script_name%: Compiling F767
cd firmware\config\boards\nucleo_f767
call !compile-osc_f767.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile osc_f767
if not exist build/rusefi.hex exit -1
cd ..
pwd
set bundle_name=stm32f767_osc set bundle_name=stm32f767_osc
call misc\jenkins\compile_other_versions\compile_and_upload.bat nucleo_f767 stm32f767_osc
IF NOT ERRORLEVEL 0 echo ERROR invoking compile_and_upload.bat
IF NOT ERRORLEVEL 0 EXIT /B 1
pwd
pwd
call misc\jenkins\compile_other_versions\build_version.bat call misc\jenkins\compile_other_versions\build_version.bat
echo %script_name%: Done with F767-osc echo %script_name%: Done with F767-osc