[vala/0.44] vapi: Perform syntax and semantic check for all bindings on "make check"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.44] vapi: Perform syntax and semantic check for all bindings on "make check"
- Date: Sat, 5 Oct 2019 12:10:44 +0000 (UTC)
commit 514211d5253796143af0877d4582b95c5dd097d6
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 5 11:15:04 2019 +0200
vapi: Perform syntax and semantic check for all bindings on "make check"
vapi/Makefile.am | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 3be96e1de..27891f55e 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -1,5 +1,13 @@
NULL =
+check: $(top_builddir)/compiler/valac
+ echo "void main () {}" > test.vala; \
+ for vapi in `ls *.vapi | sed -e "s/\.vapi//g"`; do \
+ echo "Checking $$vapi..."; \
+ $(top_builddir)/compiler/valac -C --pkg=$$vapi --vapidir=. test.vala || exit 1; \
+ done; \
+ rm -f test.vala test.c
+
vapidir = $(pkgdatadir)/vapi
dist_vapi_DATA = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]