-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Setting up for development on CocoaPods
alloy edited this page Oct 23, 2011
·
27 revisions
-
Install MacRuby version 0.10.
-
Install the MacBacon gem, which is used to run the specs, and the Kicker gem which is used to run focussed tests:
$ sudo macgem install mac_bacon $ sudo gem install kicker
-
Create a clone of the CocoaPods source and update the git submodules that are used in the integration spec.
$ git clone git://github.com/alloy/cocoapods.git $ cd cocoapods $ git submodule update --init
-
Verify that all specs pass. (See rake -T for other tasks.)
$ rake spec
-
Start kicker, which will run the specs relevant to the files you update:
$ kicker -c
-
Create your patch, verify all specs still pass, and create a pull request.
IMPORTANT
- RVM is not supported by MacRuby. If, however, you do want to use that, then be sure to make use of
rvm use system
. - Use the system Ruby
rake
, notmacrake
.