Skip to content

Repository files navigation

makeutil

Parse one GNU Makefile into deterministic, source-faithful JSON.

makeutil reports rules, recipes, variables, includes, conditionals, source locations, and recoverable diagnostics without evaluating the Makefile or following its includes.


Quick start

Parse the repository's representative fixture:

cargo run -- parse tests/fixtures/makefiles/all-facts.mk

The command writes one compact JSON document to standard output.


Development

This crate requires the Polonius borrow-checking analysis (-Zpolonius=next) on the pinned nightly toolchain. The flag is configured in .cargo/config.toml; see Polonius migration for the project's borrow-checking conventions and audit inventory.


Documentation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages