add separate CHECK_SOURCES build target
This commit is contained in:
parent
631a11cd35
commit
4f120531ab
@ -4,6 +4,10 @@ compiler:
|
|||||||
- clang
|
- clang
|
||||||
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
|
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
|
||||||
env:
|
env:
|
||||||
|
- |
|
||||||
|
BUILDSCRIPT="check_source.sh"
|
||||||
|
BUILDNAME="CHECK_SOURCES"
|
||||||
|
BUILDOPTIONS=" "
|
||||||
- |
|
- |
|
||||||
BUILDSCRIPT="coverage.sh"
|
BUILDSCRIPT="coverage.sh"
|
||||||
BUILDNAME="COVERAGE"
|
BUILDNAME="COVERAGE"
|
||||||
|
17
check_source.sh
Executable file
17
check_source.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# output version
|
||||||
|
bash printinfo.sh
|
||||||
|
|
||||||
|
make clean > /dev/null
|
||||||
|
|
||||||
|
if [ -f check-source.pl ] ; then
|
||||||
|
echo "checking white spaces..."
|
||||||
|
perl check-source.pl || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# $Source$
|
||||||
|
# $Revision$
|
||||||
|
# $Date$
|
@ -10,6 +10,9 @@ fi
|
|||||||
# date
|
# date
|
||||||
echo "date="`date`
|
echo "date="`date`
|
||||||
|
|
||||||
|
# check sources
|
||||||
|
bash check_source.sh "CHECK_SOURCES" " " "$1" "$2" "$3" || exit 1
|
||||||
|
|
||||||
# stock build
|
# stock build
|
||||||
bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1
|
bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user