From 8e83a86b147987cc256812aff78335ac8a26c36e Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 15 Dec 2014 16:56:31 +0000 Subject: CMakeLists.txt uniformization. check_google_style bug fix. generate_version copy Doxyfile git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cpplint_test@352 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a64f89b97ff3acbcf562070cc59b6065013d4aa1 --- scripts/check_google_style.sh | 3 ++- scripts/generate_version.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check_google_style.sh b/scripts/check_google_style.sh index fc659346..9ed5cad0 100755 --- a/scripts/check_google_style.sh +++ b/scripts/check_google_style.sh @@ -4,6 +4,7 @@ # VERSION CHECK ROOT_DIR=.. FILE_TO_CHECK="$1" +PYTHON_SCRIPT="$2" LOG_FILE=$FILE_TO_CHECK.cpplint if [ -f $LOG_FILE ]; then @@ -17,7 +18,7 @@ fi # CPPLINT FILE echo "File: $FILE_TO_CHECK" 2>&1 | tee -a $LOG_FILE -python ~/cpplint.py --linelength=120 $FILE_TO_CHECK 2>&1 | tee -a $LOG_FILE +python $PYTHON_SCRIPT --linelength=120 $FILE_TO_CHECK 2>&1 | tee -a $LOG_FILE LINE_ERRORS=`grep "Total errors found:" $LOG_FILE` NB_ERRORS=${LINE_ERRORS:20} diff --git a/scripts/generate_version.sh b/scripts/generate_version.sh index 4b5d08f4..1a8ce4ab 100644 --- a/scripts/generate_version.sh +++ b/scripts/generate_version.sh @@ -47,6 +47,7 @@ cp $ROOT_DIR/Conventions.txt $VERSION_DIR cp $ROOT_DIR/COPYING $VERSION_DIR cp -R $ROOT_DIR/data $VERSION_DIR cp $ROOT_DIR/src/CMakeLists.txt $VERSION_DIR +cp $ROOT_DIR/src/Doxyfile $VERSION_DIR # PACKAGE LEVEL COPY PACKAGE_INC_DIR="/include" -- cgit v1.2.3