weberc2 / builder

Prototype build tool
0 stars 0 forks source link

Automatic installation of plugin helper functions #7

Closed weberc2 closed 4 years ago

weberc2 commented 5 years ago

Right now, most plugins have starlark helper functions that are defined in starlark files in the repo. These are not available to other repos automatically (they need to be manually copied/pasted into the new repo at the right location).

weberc2 commented 4 years ago

I think the right thing here is to bake these helpers into the plugins themselves. In the future, we can solve for binary size by making the plugins true, dynamically-loaded plugins if necessary. Each plugin can choose whether to provide a Go builtin function or a script that is executed like other starlark code.