Convert scripts simulator (#1518)

* remove run_gcov and call ci_gcov from run_clean_gcov

* explicitly call bash

* remove unused scripts

* covert compile

* convert compile

* convert clean
This commit is contained in:
David Holdeman 2020-06-18 20:14:37 -07:00 committed by GitHub
parent 1fd0182d07
commit a38e3a1fe1
6 changed files with 22 additions and 15 deletions

View File

@ -1,3 +1,8 @@
echo Entering simulator\clean.bat @echo off
rm -rf .dep sh.exe compile.sh || (
rm -rf build if exist C:\cygwin64 (
C:\cygwin64\bin\sh.exe compile.sh
) else (
if exist C:\cygwin ( C:\cygwin\bin\sh.exe compile.sh )
)
)

3
simulator/clean.sh Normal file
View File

@ -0,0 +1,3 @@
echo "Entering simulator/clean.sh"
rm -rf .dep
rm -rf build

View File

@ -1,5 +1,8 @@
rem this is about CygWin colon issue, .dep files are invalid because of that @echo off
rem rm -rf .dep sh.exe compile.sh || (
rm -f build/rusefi_simulator.exe if exist C:\cygwin64 (
make -j4 -r C:\cygwin64\bin\sh.exe compile.sh
echo "TIMESTAMP %date% %time% just compiled rusefi simulator" ) else (
if exist C:\cygwin ( C:\cygwin\bin\sh.exe compile.sh )
)
)

3
simulator/compile.sh Normal file
View File

@ -0,0 +1,3 @@
rm -f build/rusefi_simulator.exe
make -j4 -r
echo "TIMESTAMP $(date "+%D %T.%2N") just compiled rusefi simulator"

View File

@ -1,2 +0,0 @@
make clean
make 2> err > log

View File

@ -1,5 +0,0 @@
make -r
cd build
rusefi_simulator.exe