Closed ashfurrow closed 6 years ago
After removing a cached version of the generated Package.swift
, we were able to verify that this works as-epected locally.
Yep - this is cool with me too. Let's do it.
:tada: I'll send a PR to Danger-Swift to use this.
Awesome 🎉
This PR adds a a linkable library for the dependencies generated in Marathon scripts. tl;dr Danger uses Marathon to download its dependencies, but those deps need to be exposed to be linked against by Danger.
Paired on this with @orta. We used the name
Dependencies
for everything since it's pretty generic and captured all of the root-level dependencies. This will allow us to change this line:https://github.com/danger/danger-swift/blob/5fd83392054054740cb4922a44fd4d59d2d6b05c/Sources/Runner/Commands/Runner.swift#L61
... to include
libArgs += ["-lDependencies"]
and expose Danger-Swift plugin symbols toDangerfile.swift
files. Let me know if I can clarify anything – thanks!