Skip to content

Add ability to download extra packages when building a Swift SDK #187

Open
@xtremekforever

Description

@xtremekforever

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions