mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 22:51:32 -05:00
Add go fmt to contribution guidelines
Also fixed up formatting.
This commit is contained in:
parent
357ab956ea
commit
6410965b97
1 changed files with 4 additions and 3 deletions
|
@ -89,8 +89,9 @@ We welcome your contributions. To make the process as seamless as possible, we
|
|||
|
||||
* Go ahead and fork the project and make your changes. We encourage pull requests to discuss code changes.
|
||||
* When you're ready to create a pull request, be sure to:
|
||||
* Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
|
||||
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
|
||||
* Make sure go test ./... passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception, Windows. We run on windows from time to time, but if you have access please check on a Windows machine too.
|
||||
* Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
|
||||
* Run `go fmt`
|
||||
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
|
||||
* Make sure `go test ./...` passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception: Windows. We run on windows from time to time, but if you have access please check on a Windows machine too.
|
||||
|
||||
**Complete documentation is available at [Hugo Documentation](http://hugo.spf13.com).**
|
||||
|
|
Loading…
Reference in a new issue