-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Setting up for development on CocoaPods
yas375 edited this page Mar 19, 2012
·
27 revisions
-
Create a clone of the CocoaPods source and update the git submodules that are used in the integration spec.
$ git clone git://github.com/CocoaPods/CocoaPods.git $ cd CocoaPods $ git submodule update --init
-
Install the dependencies.
If you are using RVM:
$ echo "rvm use --create ruby-1.9.3-p125@cocoapods" > .rvmrc $ echo ".rvmrc" >> .git/info/exclude $ cd .. && cd - # to reload rvm config. follow rvm instructions $ gem install bundler # if it's not already installed into global gemset for selected ruby version $ bundle install
Otherwise:
$ sudo gem install bundler $ bundle install
-
Verify that all specs pass and all examples build. (See rake -T for other tasks.)
$ rake spec $ rake examples:build
-
Start kicker, which will run the specs relevant to the files you update.
$ kicker -c
-
Create your patch, verify all specs still pass and examples still build, and create a pull request.