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 1898a21380
commit 2881db0a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 15 deletions

View File

@ -1,3 +1,8 @@
echo Entering simulator\clean.bat
rm -rf .dep
rm -rf build
@echo off
sh.exe compile.sh || (
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
rem rm -rf .dep
rm -f build/rusefi_simulator.exe
make -j4 -r
echo "TIMESTAMP %date% %time% just compiled rusefi simulator"
@echo off
sh.exe compile.sh || (
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/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