rusefi-1/firmware/gen_trigger_images.bat

20 lines
563 B
Batchfile
Raw Normal View History

2016-04-09 10:02:13 -07:00
rem This takes triggers.txt generated by unit_test binary and produces a bunch of .png files
2018-01-26 08:37:18 -08:00
rem these images are published at
2016-04-09 10:02:13 -07:00
2018-11-22 07:25:02 -08:00
cd ../unit_tests
make
if not exist build/rusefi_test.exe echo UNIT TEST COMPILATION FAILED
if not exist build/rusefi_test.exe exit -1
rem This is me using Cygwin on all my Windows devices
ls -l build/rusefi_test.exe
del triggers.txt
build\rusefi_test.exe
pwd
if not exist triggers.txt echo triggers.txt generation FAILED
if not exist triggers.txt exit -1
2016-04-09 10:02:13 -07:00
java -cp ../java_console_binary/rusefi_console.jar com.rusefi.TriggerImage