ParadigmMC / mcman

Powerful Minecraft Server Manager CLI. Easily install jars (server, plugins & mods) and write config files. Docker and git support included.
GNU General Public License v3.0
131 stars 11 forks source link

[feat] Steps (compiled addons etc) #38

Open TheAlan404 opened 6 months ago

TheAlan404 commented 6 months ago

Most addons could be downloaded but some are compiled. This proposal (that will require a lot of code change) will allow there to be more complex addons.

The idea is that a Downloadable, instead of returning a ResolvedFile, will return Vec<Step>

pub enum Step {
  Download(ResolvedFile),
  Execute(...),
  Compile(...),
}