👍🎉 First off, thanks for taking the time to contribute! 🎉👍
- 📖 Contributte to our Wiki.
- ✅ Go on our Project tab and pick some tasks.
- 🎤 Spread the news. Share our project!
All new features must have tests.
To setup your testing environment:
- Set environment variable
CAPI_KEY
to you Clockify API key.
or
- Copy
.runsettings.default
to.runsettings
.runsettings
is in.gitignore
so don't worry - Change
your_clockify_api_key
to your own Clockify API key. See API docs for instruction. - Set
.runsettings
as your test settings file.
Test naming convention
MethodName_ShouldDoSomething()
Just create pull request.
I really recommnend this article.
Short instruction:
- Fork repository.
- Clone your forked repository.
- Create new branch from
develop
.git checkout develop
git checkout -b feature/myFeatureName
- Now setup upstream using
git remote add upstream https://github.com/Morasiu/Clockify.Net
- Now is time to code (my favorite).
- After you done commit your changes
git add .
git commit -m "Your commit message"
- Now go to https://github.com/Morasiu/Clockify.Net and click Compare & pull request.
- Confirm creating
Create pull request
- DONE!
We use
git flow
for git management.
- Pick some task.
- Make a
feature
branch - Code, code, code.
- Remember about tests
- Make a
Pull Request
.