add separate CHECK_SOURCES build target
This commit is contained in:
parent
631a11cd35
commit
4f120531ab
@ -4,6 +4,10 @@ compiler:
|
||||
- clang
|
||||
script: bash "${BUILDSCRIPT}" "${BUILDNAME}" "${BUILDOPTIONS}" "makefile" "-DUSE_LTM -DLTM_DESC -I/usr/include" "/usr/lib/libtommath.a"
|
||||
env:
|
||||
- |
|
||||
BUILDSCRIPT="check_source.sh"
|
||||
BUILDNAME="CHECK_SOURCES"
|
||||
BUILDOPTIONS=" "
|
||||
- |
|
||||
BUILDSCRIPT="coverage.sh"
|
||||
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$
|
Loading…
Reference in New Issue
Block a user