-
Notifications
You must be signed in to change notification settings - Fork 282
Conversation
Gonna try unblock myself here by using: p = Podfile.from_file("Podfile")
return YAML::load(p.to_yaml).to_json |
|
The “Warnings” part doesn’t make much sense in the global project overview, as |
great, I can move that 👍 |
[App/Ruby] Get information of user’s projects/targets.
Hrm, pulling some of this off looks like being able to apply ENV vars to plist metadata, for example its common to have plists like: Where we then have to apply these ENV vars: Getting the scheme might be complex? |
tableView.reloadData() | ||
} | ||
|
||
// TODO: I bet someone could code-golf this pretty well |
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.
Yes, this could be hugely simplified using map/reduce:
targets.filter { $0.name != targetName }.map { $0.pods }
etc
|
||
class CocoaPodsTests: QuickSpec { | ||
class CocoaPodsTests: NSObject {} |
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.
Is this empty class really necessary?
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.
no
I think the fix around the ENV var stuff is to make my own images for different bundle types |
…r interest to when the Podfile has all the XPC metadata
Alright, I'm good for this now. |
Support a versioned build environment
- (void)addBlock:(void (^)(void))block | ||
{ | ||
void (^ourBlock)(void) = [block copy]; | ||
self.completionBlocks = self.completionBlocks ?: [NSMutableArray array]; |
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.
You can also just 'id' the block.
Initial stab at real design, it's cells in a tableview, so they can repeat themselves, and the grey text would not show in the app, only in IB
I also started looking including mini version of the snapshots testing metaphor, it's pretty rough ATM, but should work.