Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
243 stars 34 forks source link

Monorepo support #328

Closed Southclaws closed 1 year ago

Southclaws commented 4 years ago

I won't be implementing this as I'm not really putting time into this project any more, but here's an idea nonetheless.

There are a few monorepos out there, and monorepos have valid arguments for their use, so it makes sense to support them in a more user-friendly way.

I came up with a pretty simple solution. A root-level pawn.json can simply provide a list of include path prefixes. So, for Agneese Saini's work, this would simply be adding the path pawno/include/ to this list, then sampctl would add this path to the dependency path.