marekmaskarinec / umbox

Umka package manager
Other
2 stars 1 forks source link

Include target specification + pruning #17

Open marekmaskarinec opened 3 months ago

marekmaskarinec commented 3 months ago

Currently a box.tar contains all the files that are built. With this feature, you could specify which target a file is meant for. Example:

[
  "os_window.umi:windows",
  "os_linux.umi:linux",
  "os_emscripten.umi:emscripten",
  "os.um" <- all targets
]

This could be used by a new feature that would automatically delete all files not needed by the current target, thus saving space.

marekmaskarinec commented 3 months ago

Alternatively the targets could be detected automatically.