yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.25k stars 121 forks source link

Build executables one by one #256

Closed vincentisambart closed 1 year ago

vincentisambart commented 1 year ago

closes #255

The changes in #251 add each executable target as an additional --product \(executable) to the swift build command. Unfortunately, when multiple products are specified with --product \(executable), swift build does not build all of them, only the last one.

swift build does not seem to have a way to explicitly specify multiple products to build at once, so instead this PR makes Mint run swift build once for each executable product.

vincentisambart commented 1 year ago

@yonaskolb Could you please have a look?

vincentisambart commented 1 year ago

Thanks for the review and release 😄