[](https://github.com/pkgcraft/pkgcraft-c/actions/workflows/ci.yml)
# pkgcraft-c
C library for pkgcraft.
Note that this library is highly experimental and will not follow semantic
versioning before reaching its 1.0.0 release.
## Development
Requirements: [cargo-c](https://crates.io/crates/cargo-c), meson (to build and
run the tests), and everything required to build pkgcraft
Use the following commands to set up a dev environment:
```bash
# clone the pkgcraft workspace and pull the latest project updates
git clone --recurse-submodules https://github.com/pkgcraft/pkgcraft-workspace.git
cd pkgcraft-workspace
git submodule update --recursive --remote
# build the C library
source ./build pkgcraft-c
# build and run the tests
meson setup target/build pkgcraft-c && meson test -C target/build
```