- Fork it!
- Create your feature/fix branch from the master branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to github:
git push origin my-new-feature - Create a pull request for the getme repository
If your pull request have new getme commands and functionalities with new files in it, it is good to:
- Create a file named [YOUR_FEATURE].test.js next to your new feature file
- Create your test cases for that new feature on that test file. Use the existing test files as an example
- Run
npm run coverage. It will generate acoveragefolder. Open theindex.htmlin it, and see if the tests you made are covering all the code in your feature file - Run
npm testto check if your tests are ok
- Do not forget to update the getme options table in README.md with your new commands
Remember that we have a pre-push hook with steps that analyzes and prevents mistakes.
After your pull request is merged, you can safely delete your branch.