-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify some naming #39
Conversation
} | ||
} | ||
|
||
private func ==<Key : Equatable, Value : Equatable>(lhs: [Key : Value]?, rhs: [Key : Value]?) -> Bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be styled as follows:
<Key: Equatable, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?)
I've experimented with the changes in Carthage, and I had no problem to put them in! Looks good to me and just a few stylistic notes. 👍 |
👾 |
/// Launches a new shell task, using the parameters from `taskDescription`. | ||
/// Launches a new shell task. | ||
/// | ||
/// - Parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice! 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just discovered this yesterday in the apple/swift documentation. 😄
I really dislike some of the current naming in ReactiveTask. This PR cleans that up and makes a few more breaking changes while I'm at it:
TaskDescription
toTask
launchPath:
parameter name fromTask.init
ReactiveTaskError
toTaskError
standardInput
fromTask
tolaunchTask
Task
conform toHashable
Launch
case toTaskEvent
that sends theTask
The latter 3 changes were motivated by a desire to print executed commands in Carthage. Right now, we only print the output of commands. It'd be nice to print the commands themselves.