[Libosinfo] [osinfo-db-tools PATCH 8/8] prepare-relase: Add `ninja syntax-check`
Fabiano Fidêncio
fidencio at redhat.com
Thu Jun 20 15:21:27 UTC 2019
Now that ninja has a `syntax-check` target, let's add it to
prepare-release script in a similar that `make syntax-check` was used
before.
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
prepare-release.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/prepare-release.sh b/prepare-release.sh
index ea67322..5708045 100755
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -19,6 +19,8 @@ exec 3>&1
st=$(
exec 4>&1 >&3
{ ninja -C build test 2>&1 3>&- 4>&-; echo $? >&4; } | tee "$RESULTS"
+ exec 4>&1 >&3
+ { ninja -C build syntax-check 2>&1 3>&- 4>&-; echo $? >&4; } | tee --append "$RESULTS"
)
exec 3>&-
test "$st" = 0
--
2.21.0
More information about the Libosinfo
mailing list