mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 08:51:12 +00:00
Correct testing instructions for contributors
This commit is contained in:
parent
2d045511bb
commit
b7a5a6785f
1 changed files with 7 additions and 2 deletions
|
|
@ -1,16 +1,21 @@
|
||||||
How to contribute
|
# How to contribute
|
||||||
|
|
||||||
Contributions are welcome.
|
Contributions are welcome.
|
||||||
|
|
||||||
Please file bug reports and feature requests to https://github.com/metosin/reitit/issues.
|
Please file bug reports and feature requests to https://github.com/metosin/reitit/issues.
|
||||||
|
|
||||||
|
## Environment setup
|
||||||
|
|
||||||
|
1. Clone this git repository
|
||||||
|
2. For CLJS support, install NPM dependencies: `npm install`.
|
||||||
|
|
||||||
## Making changes
|
## Making changes
|
||||||
|
|
||||||
* Fork the repository on Github
|
* Fork the repository on Github
|
||||||
* Create a topic branch from where you want to base your work (usually the master branch)
|
* Create a topic branch from where you want to base your work (usually the master branch)
|
||||||
* Check the formatting rules from existing code (no trailing whitepace, mostly default indentation)
|
* Check the formatting rules from existing code (no trailing whitepace, mostly default indentation)
|
||||||
* Ensure any new code is well-tested, and if possible, any issue fixed is covered by one or more new tests
|
* Ensure any new code is well-tested, and if possible, any issue fixed is covered by one or more new tests
|
||||||
* Verify that all tests pass using ```lein test```
|
* Verify that all tests pass using `./scripts/test.sh clj` and `./scripts/test.sh cljs`.
|
||||||
* Push your code to your fork of the repository
|
* Push your code to your fork of the repository
|
||||||
* Make a Pull Request
|
* Make a Pull Request
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue