Closed xslim closed 11 years ago
This exists already: New (unreleased docs)
I think that @xslim is looking for the:
$ pod spec lint --local
command. This will be renamed to pod lib lint
for discoverability.
:+1:
I still think that Podspec
for a private libs should be able to use source from local path...
We think that Pods should use source control and adding this kind of support (it used to work) would complicate the implementation with little gain. For development there is the :path
option in the Podfile and the upcoming CocoaPods/CocoaPods#1010 which if there is enough demand for it could use a global config file as well (like bundler does) which would use the path option for all the projects in the machine of the user while storing the last SHA in the Lockfile every time pod install is called.
I'm building a private library, and I use cocoapods to to test it & distribute it. I wand in my pod spec to support something like
So when I will do
pod spec lint
it will take sources from the supplied path