This might not be correct, but something like this: pre-build / post-build: cd ${WORKSRC}/executors/plugins ${LN} -s ../* . go mod vendor ${GMAKE} build ${GMAKE} dist ${MKDIR} -p dist/lib ${MV} executors/plugins/dist/lib/* dist/lib updated plist, unless the plugins are statically linked into the single binary.
Do you see any real value into building the plugins ? they are more there as an example.
(In reply to Baptiste Daroussin from comment #1) That's fair.