You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if you want to create a Swift SDK with other dependencies included, as shown in the README, you must use a container to install the dependency you need. However, this creates larger Swift SDKs, and is not always desirable.
I suggest adding a new option to download additional or extra packages when building a Swift SDK, like this:
swift run swift-sdk-generator make-linux-sdk --extra-packages "libsqlite3-dev"
To pass multiples, they could be separated by a space:
swift run swift-sdk-generator make-linux-sdk --extra-packages "libsqlite3-dev libsystemd-dev my-other-package"
There's a possibility this could also work for building Swift SDKs when using a container too, if an apt-get install <extra-packages> command is added to the container before exporting the files to generate the Swift SDK.