Open mathias-baumann-sociomantic opened 6 years ago
I can think of four stages for such a hook system
So I am thinking neptune just checks for the directory neptune-hooks/
and runs files matching it's pattern.
The pattern would be
begin.<name>
pre.<name>
post.<name>
end.<name>
The files are expected to be executable and will be run by bash, so they can contain a shebang line (which means they could even just be d files
To implement https://github.com/sociomantic-tsunami/neptune/issues/48 in an language agnostic way, a generic hook system would be useful