JamitLabs / Accio

A dependency manager driven by SwiftPM that works for iOS/tvOS/watchOS/macOS projects.
MIT License
660 stars 32 forks source link

Add command to test support of frameworks #16

Closed Jeehut closed 3 years ago

Jeehut commented 5 years ago

Some frameworks might want to test their Accio support on a CI. As of now, there is no command to test if a framework itself is Accio compatible, the only solution is a workaround where one would need to create a Package.swift file which includes the framework to be tested. This is no good solution for a CI, therefore Accio should provide an internal way of testing Accio installation of a framework.

Note though, that in practice a framework that supports SwiftPM and Carthage will always also support Accio. But projects bundling resources can't have real SwiftPM support at the moment, therefore adding a command for testing Accio support definitely is needed for those projects.

mrylmz commented 5 years ago

I would suggest to add a new accio doctor command which scans the current project directory for possible issues like missing support and outputs helpful informations on how to solve the issue or suggest a auto-fixit if possible.

Jeehut commented 5 years ago

@mrylmz Great idea! But please open a new issue for that and list the different errors you would want to help out with initially. It should be developed separately from this.

Jeehut commented 5 years ago

As for the naming of this feature, I suggest the following:

Jeehut commented 5 years ago

@mrylmz Any progress on this issue? Feel free to create a [WIP] PR if you're not finished yet so I could continue on your work if needed.

Jeehut commented 5 years ago

@mrylmz ping :)

mrylmz commented 5 years ago

Its been a while since my last progress now... feel free to continue the work on the branch work/16-support-command

fredpi commented 3 years ago

Closing this, as Accio is now deprecated.