Filipe Rodrigues 5043f9d843 Rules no longer store dependencies file as a separate variant and instead uses a flag.
Renamed (internal) usages of `dep_file` to `deps_file`.

Dependencies file need the same treatment as normal files, with just an extra treatment after they're built, so a flag is sufficient.
2023-12-10 14:49:48 +00:00
2023-01-05 05:21:17 +00:00
2023-12-10 04:12:41 +00:00
2023-12-10 04:17:30 +00:00
2023-10-05 23:37:54 +01:00
2023-07-06 10:57:44 +01:00
2023-07-06 10:57:44 +01:00
2023-07-06 10:57:44 +01:00

Zbuild

zbuild is a modern makefile-like build automation tool.

Guide

Zbuild uses a yaml file to specify all rules. It will look for for the nearest zbuild.yaml file in the current or parent directories.

See the Guide for a proper introduction to zbuild.

Examples

See the examples/ directory for examples.

In particular the examples/simple_c/zbuild.yaml is a fully documented example that helps you understand how zbuild works.

Watching

Zbuild can "watch" your build, re-running rules whenever files are updated. This can be activated with the --watch flag. See zbuild --help for more details.

Installation

You may download the latest release from the releases page.

You may also compile it yourself, with a nightly rust compiled (>= rustc 1.68.0-nightly (9c07efe84 2022-12-16), may work with older) and install it by:

  1. Clone the repo

    git clone https://github.com/Zenithsiz/zbuild

  2. Build + install

    cargo install --path zbuild

License

This project is dual-licensed under either of

Contribution

Feel free to open any issues with any bugs, opinions or suggestions you have on the project.

Description
Make-like generic build system
Readme 951 KiB
Languages
Rust 98.9%
Shell 1.1%