square / cocoapods-check

A CocoaPods plugin that shows differences between locked and installed Pods
Apache License 2.0
126 stars 19 forks source link

Better development pod handling #3

Closed mdiiorio closed 8 years ago

mdiiorio commented 8 years ago

Check the timestamp of the Pod's files against the lockfile to determine whether it needs installation or not.

justinseanmartin commented 8 years ago

Modified time isn't perfect, as the file could be modified and reverted back. Also, if there are changes in source files, or new source files added that someone included in the Pods project already, it might be overkill to suggest doing a pod install. That said, it seems like a reasonable approximation to me and better than no information at all.

justinseanmartin commented 8 years ago

LGTM

mdiiorio commented 8 years ago

Yeah, I couldn't think of another way. In verbose mode the actual files are listed, so that will give an idea of exactly why it's out of date.