fail faster
This commit is contained in:
parent
177296bb35
commit
360759b063
|
@ -3,18 +3,23 @@ rd /s /q deliver
|
|||
mkdir deliver
|
||||
|
||||
call clean.bat
|
||||
make
|
||||
make -j4
|
||||
cp build\rusefi.elf deliver\rusefi_debug.elf
|
||||
cp build\rusefi.bin deliver\rusefi_debug.bin
|
||||
cp build\rusefi.hex deliver\rusefi_debug.hex
|
||||
echo Debug compilation results
|
||||
echo Debug compilation results 1/2
|
||||
ls -l build
|
||||
if not exist deliver/rusefi_debug.hex echo FAILED to compile DEBUG
|
||||
if not exist deliver/rusefi_debug.hex exit -1
|
||||
|
||||
|
||||
call clean.bat
|
||||
make DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE'
|
||||
make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE'
|
||||
|
||||
cp build\rusefi.elf deliver\rusefi_release.elf
|
||||
cp build\rusefi.bin deliver\rusefi_release.bin
|
||||
cp build\rusefi.hex deliver\rusefi_release.hex
|
||||
echo Release compilation results
|
||||
echo Release compilation results 2/2
|
||||
ls -l build
|
||||
if not exist deliver/rusefi_release.hex echo FAILED to compile RELEASE
|
||||
if not exist deliver/rusefi_release.hex exit -1
|
||||
|
|
|
@ -41,10 +41,10 @@ git submodule update --init
|
|||
call update_version.bat
|
||||
|
||||
call clean_compile_two_versions.bat
|
||||
if not exist deliver/rusefi_release.hex echo FAILED to compile RELEASE
|
||||
if not exist deliver/rusefi_release.hex echo Just to confirm - FAILED to compile RELEASE
|
||||
if not exist deliver/rusefi_release.hex exit -1
|
||||
|
||||
if not exist deliver/rusefi_debug.hex echo FAILED to compile DEBUG
|
||||
if not exist deliver/rusefi_debug.hex echo Just to confirm - FAILED to compile DEBUG
|
||||
if not exist deliver/rusefi_debug.hex exit -1
|
||||
|
||||
..\misc\hex2dfu\HEX2DFU.exe deliver/rusefi_release.hex -out deliver/rusefi_release.dfu
|
||||
|
|
Loading…
Reference in New Issue