864 B
864 B
Contributing to BeEF
Anyone is welcome to make BeEF better!
Below are the steps needed to add code to BeEF on Github to the master branch:
-
Clone the repository and create a new branch
-
Write and commit your new code to that branch
-
Run the existing tests to make sure they pass
See https://github.com/beefproject/beef/wiki/BeEF-Testing for steps to do so
TL;DR:
bundle install --with test
bundle exec rake spec
-
Write tests in RSpec for your new code (module, extension etc.)
-
Run all tests again to make sure they all pass
-
Edit existing wiki page / add a new one explaining the new features, including:
- sample usage (command snippets, steps and/or screenshots)
- internal working (code snippets & explanation)
-
Submit a Pull Request, explaining:
- what you have added
- where to find help about it (link to wiki page)