convert unit_tests/compile (#1517)

This commit is contained in:
David Holdeman 2020-06-18 20:14:05 -07:00 committed by GitHub
parent 2afb57906f
commit 1898a21380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,8 @@
echo I am compiling unit tests
rm -rf .dep/
rm -rf build/
make -j4
@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 )
)
)

6
unit_tests/compile.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
echo "Compiling unit tests"
rm -rf .dep/
rm -rf build/
make -j4