The hook runs repository-native quality targets through a selected build driver. Automatic selection uses this order:
- Use Netsuke when
Netsukefileexists andnetsukeis available onPATH. - Otherwise use Make when
Makefileexists andmakeis available onPATH. - When neither
NetsukefilenorMakefileexists, skip repository quality targets and continue with branch-state gates.
Automatic mode still reports an error when manifests are present but no usable build driver remains, such as when the only manifest's matching executable is missing.
Set POST_TURN_BUILD_DRIVER to override automatic selection:
autokeeps the default behaviour.netsukerequiresNetsukefileand a Netsuke executable.makerequiresMakefileand a Make executable.
Custom executable names or paths can be configured with POST_TURN_NETSUKE_BIN
and POST_TURN_MAKE_BIN.