carthage version: 0.16.2xcodebuild -version: Xcode 7.3.1 Build version 7D1014--no-build? No--no-use-binaries? No--use-submodules? NoI have to Google every single time I use carthage build --no-skip-current is there a simpler API for carthage build --no-skip-current? Something more memorable like:
carthage build --archive
So then I can do
carthage archive
Or maybe
carthage archive --building, so I can skip the build command?
Thanks for your help.
carthage help build might be helpful. 鈽猴笍
But I do think it'd be worth adding a variant that both builds and archives. carthage build --archive makes sense to me. Want to open a pull request? 馃槃
Tried looking into this but it's quite difficult, I get an error in currying the BuildCommand inside the method evaluate.
Binary operator '<|' cannot be applied to operands of type 'CommandMode' and 'Argument<[Any]>'
https://github.com/3lvis/Carthage/tree/add-archive-option-to-build
I think you just need to change defaultValue: nil to defaultValue: false. Since public let archive: Bool, nil isn't a valid value. This causes type inference to fail, leading to the unhelpful error that you shared above.
Most helpful comment
carthage help buildmight be helpful. 鈽猴笍But I do think it'd be worth adding a variant that both builds and archives.
carthage build --archivemakes sense to me. Want to open a pull request? 馃槃