https://kotlinlang.org logo
#touchlab-tools
Title
# touchlab-tools
m

Matthew Ramotar

03/04/2023, 8:24 PM
Hey friends - Is it possible to generate and publish >1 Swift packages using 1
KMMBridgeGithubWorkflow
? Our library has 3 modules using KMM Bridge plugin: • CacheMulticastStore However the workflow only generates 1 `Cache` Swift package.
r

russhwolf

03/04/2023, 9:03 PM
Not at the moment. Right now we only generate a package file for a single module, and SPM wants things to be one package file per repo. If you know what you would want your multiple package setup to look like, you may be able to achieve it with some manual configuration by wiring in a task that runs after
updatePackageSwift
and before
kmmbridgePublish
and modifies the package file to match what you need. But as-is there will probably be issues with git operations running at the wrong time.
m

Matthew Ramotar

03/04/2023, 9:04 PM
Ah ok 👍
Thanks!
r

russhwolf

03/04/2023, 9:05 PM
It's a use-case we'd like to support better, but haven't had the time to drill down and figure out the best way to do it yet
6 Views