-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Swift Bundler should have the ability to bundle CLI applications. There are enough options that don't apply to CLI applications that I almost thing they should be under a different key in Bundler.toml. But then, having an application be both a graphical application and a cli application depending on an overlay would be impossible (e.g. for SwiftCrossUI apps built against the TermKitBackend).
When we implement this, it should be possible to bundle Swift Bundler with itself, which will be great cause people will no longer need to build it themselves (which can take a long time).
We should also post in the following Swift Forums thread once the feature is added: https://forums.swift.org/t/building-and-distributing-app-for-linux/83003/2
On Linux and Windows, the existing bundlers can be updated to support bundling CLIs. On macOS we'll likely need a new pkg bundler, and a simple one similar to linuxGeneric (that just produces a directory structure with all of the dependencies).