Skip to content

Repository files navigation

exceptions

Template repository for creating a new Vala shared library project with Meson, tests, CI and release workflow.

Contents

Build

meson setup builddir
meson compile -C builddir

Test

meson test -C builddir

or via Makefile helper:

make tests

Release artifacts

Tag-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)

Use generated library in other projects

Option 1: Meson subproject dependency

In consumer project root:

./init.sh

Or 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.sh

Option 2: Local vapi/lib/include integration

In consumer project root:

curl -sSfL https://raw.githubusercontent.com/ValaFoundation/exceptions/master/init-local-vapi.sh | bash

This helper downloads release artifacts (or builds from source) and prepares local vapi/, lib/, and include/ folders plus reusable Meson variables.

Dependencies

  • glib-2.0
  • gio-2.0
  • gee-0.8
  • vala_testcases (tests only)

License

MIT (see LICENSE).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages