aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-26 11:27:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-26 11:28:37 +0200
commita300ef3b4371234ce8a45e46be96d16fcb9b5f36 (patch)
treec285327a4c98183654c64a3b6c940eb84d53bee0 /.build.yml
parent7bec1ae9288703d2da110a50910c5f8e6e6425fd (diff)
downloadayatana-indicator-bluetooth-a300ef3b4371234ce8a45e46be96d16fcb9b5f36.tar.gz
ayatana-indicator-bluetooth-a300ef3b4371234ce8a45e46be96d16fcb9b5f36.tar.bz2
ayatana-indicator-bluetooth-a300ef3b4371234ce8a45e46be96d16fcb9b5f36.zip
.build.yml. Skip cppcheck run for the bluetooth indicator, only Vala code in here.
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.build.yml b/.build.yml
index f92d0d6..9130aec 100644
--- a/.build.yml
+++ b/.build.yml
@@ -99,11 +99,12 @@ before_scripts:
- make install
build_scripts:
- - if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
- - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- - fi
- -
+# No C/C++ code in this project (only Vala). So skip cppcheck run.
+# - if [ ${DISTRO_NAME} == "debian" ];then
+# - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+# - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+# - fi
+# -
- if [ -e ./CMakeLists.txt ]; then
- if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON