Skip to content
Zete Lui edited this page Aug 16, 2013 · 8 revisions

Build after cloning

bundle
rake gem

To run the tests

rspec -c -f d

To test in GC.stress mode

STRESS=1 rspec -c -f d

With coverage

COVERAGE=1 rspec -c
open .coverage/index.html

Generate yardoc and view in browser

rake doc

Other tasks

rake -T

updating the code

If you have checked out the submodules before, and run into the problem of not being able to fast-forward the changes, please remove the existing submodules ext/http-parser and ext/multipart-parser-c, then git rebase FETCH_HEAD.

git subtree usage

Add a subtree example

git subtree add --prefix=ext/http-parser [email protected]:joyent/http-parser.git master --squash

Update a subtree example

git subtree --prefix=ext/http-parser

Clone this wiki locally