ezpkg icon indicating copy to clipboard operation
ezpkg copied to clipboard

Proposal: Post Update Hook

Open renerocksai opened this issue 2 years ago • 0 comments

I could use an auto-run of zon2nix after each update to build.zig.zon. Mainly, so I can't forget to run it before calling nix build.

I haven't yet thought about how to enable and configure this feature, maybe via --hook=zon2nix, or maybe via a .ezpkgrc. The charme of the latter would be a) I can't forget to specify the hook on the command line, and b) forks would also be able to auto-update the deps.nix, provided they have the tooling installed.

I propose to implement the feature because neither of us probably has time and I want it the most.

Would such a feature be ok with you / the plans you have for ezpkg?

renerocksai avatar Aug 28 '23 00:08 renerocksai