Template repository for creating a new Vala shared library project with Meson, tests, CI and release workflow.
meson setup builddir
meson compile -C builddirmeson test -C builddiror via Makefile helper:
make testsTag-based release workflow (v*) publishes:
- shared library (
lib*.so*) - generated VAPI (
src/vapi/*.vapi) - generated header (
src/*.h) - bundled ZIP (
<repo-name>-<tag>-linux.zip)
In consumer project root:
./init.shOr run directly from GitHub:
curl -sSfL https://raw.githubusercontent.com/ValaFoundation/exceptions/master/init.sh -o init.sh && chmod +x init.sh && ./init.sh && rm init.shIn consumer project root:
curl -sSfL https://raw.githubusercontent.com/ValaFoundation/exceptions/master/init-local-vapi.sh | bashThis helper downloads release artifacts (or builds from source) and prepares local vapi/, lib/, and include/ folders plus reusable Meson variables.
- glib-2.0
- gio-2.0
- gee-0.8
- vala_testcases (tests only)
MIT (see LICENSE).