Adapt check coding style tool to file extension (*.h and *.cc) 42/32742/1
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Tue, 23 Dec 2014 10:44:58 +0000 (11:44 +0100)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Tue, 23 Dec 2014 10:49:57 +0000 (11:49 +0100)
Change-Id: I1bcbfc3693018106e42bc8a92423baba9c71f3c9
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
tools/check-coding-style

index b980f45..0d35434 100755 (executable)
@@ -15,7 +15,7 @@ cd $BASE/..
 # filters
 FILTERS="-readability/streams,-build/c++11"
 
-cpplint.py --filter="$FILTERS" $(find . \( -name '*.hxx' -o -name '*.cxx' \) )
+cpplint.py --filter="$FILTERS" $(find . \( -name '*.h' -o -name '*.cc' \) )
 RET=$?
 
 JS_RET_VAL=$?