This program redirects dependencies to local directories for Zig package development. Run it from the root of your project, and provide key value pairs specifying what nodes in the dependency tree to redirect locally:
ezpkg my_dep=../local_copy_of_dep
ezpkg is also able to redirect nested dependencies, in order to specify a redirect, use dot notation to traverse the dependency graph:
ezpkg my_dep.child=../some_other_path
ezpkg can redirect as many dependencies as you like, as long as there are no conflicts:
ezpkg my_dep=../local_copy_of_dep my_dep.child=../some_other_path
ezpkg will try to deduplicate nodes in the dependency graph, right now it uses exact hash matching to do so. This means that if a package is depended on in multiple places within the graph, and the user specifies a redirection, ezpkg will automatically redirect these nodes.
ezpkg is meant for use in Zig 0.11.0 package development, and uses 0.11.0 to build.
zig build -Doptimize=ReleaseSafe
ezpkg: