DvvCz / cpkg

A dead simple package manager for C.
MIT License
1 stars 0 forks source link

Support `postinstall` script #14

Open DvvCz opened 3 months ago

DvvCz commented 3 months ago

Analogous to npm postinstall scripts.

Would make it just that much easier to have dependencies with their own build steps.

Ie for building raylib as a git dependency:

[scripts]
postinstall = "cd target/vendor/raylib/src && make PLATFORM=PLATFORM_DESKTOP USE_WAYLAND_DISPLAY=TRUE"
DvvCz commented 3 months ago

This would prompt the user to run it, of course, same as build scripts.