tide/CONTRIBUTING.md

36 lines
882 B
Markdown
Raw Normal View History

2020-05-31 04:03:41 +03:00
# Contributing
🌊 Thank you for contributing to Tide! 🌊
## Installing for Developers
The `tide_install` function offers a few flags. `-d` will install Tide as a developer which provides extra files for testing. `-l` will install Tide from a local directory. When installing remotely, `tide_install` takes a branch name as an argument, defaulting to master.
Examples:
2020-07-05 00:01:35 +03:00
```console
2020-05-31 04:03:41 +03:00
tide_install -d example-branch
```
2020-07-05 00:01:35 +03:00
```console
2020-05-31 04:03:41 +03:00
tide_install -ld ~/tide
```
## Testing
The `tide_test` command runs tests from the `$__fish_config_dir/tests` folder using [fishtape][]. Currently there are unit tests for most prompt items.
2020-05-31 04:03:41 +03:00
Example:
2020-07-05 00:01:35 +03:00
```console
2020-05-31 04:03:41 +03:00
tide_test status
```
## Git Workflow
1. Fork this repository
2. Make some changes, committing them along the way
3. Create a pull request from your branch to `IlanCosman/tide`
2020-06-16 05:52:37 +03:00
[fishtape]: https://github.com/jorgebucaran/fishtape