[vala/wip/meson: 204/205] Run scan-build
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/meson: 204/205] Run scan-build
- Date: Sun, 7 Feb 2021 19:34:07 +0000 (UTC)
commit 81eb8b76943333297ff1c742aa06433cd6e83ffa
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Nov 5 16:17:41 2019 +0100
Run scan-build
meson-bootstrap.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson-bootstrap.sh b/meson-bootstrap.sh
index 01711f960..c3b37198a 100755
--- a/meson-bootstrap.sh
+++ b/meson-bootstrap.sh
@@ -3,7 +3,7 @@
API=`grep -e "^vala_api_version = '\([0-9]\.[0-9]*\)'$" meson.build | sed -r "s/vala_api_version = '([^
]+)'/\1/"`
PWD=$(pwd)
-rm -rf _bootstrap _bootstrap_install _build
+rm -rf _bootstrap _bootstrap_install _build _scan_build
meson _bootstrap -Dvaladoc=false -Dprefix=$PWD/_bootstrap_install || exit 1
ninja -C _bootstrap || exit 1
@@ -11,3 +11,7 @@ ninja -C _bootstrap || exit 1
LD_LIBRARY_PATH="$PWD/_bootstrap/vala" VALAC="$PWD/_bootstrap/compiler/valac-$API --vapidir $PWD/vapi" meson
_build -Dprefix=/usr || exit 1
LD_LIBRARY_PATH="$PWD/_bootstrap/vala" ninja -C _build || exit 1
LD_LIBRARY_PATH="$PWD/_bootstrap/vala" ninja -C _build test || exit 1
+
+
+LD_LIBRARY_PATH="$PWD/_bootstrap/vala" VALAC="$PWD/_bootstrap/compiler/valac-$API --vapidir $PWD/vapi" meson
_scan_build -Dprefix=/usr || exit 1
+LD_LIBRARY_PATH="$PWD/_bootstrap/vala" ninja -C _scan_build scan-build || exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]