1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/CONTRIBUTING.md

55 lines
927 B
Markdown
Raw Permalink Normal View History

2017-01-02 18:08:49 +01:00
# Contributing
By participating to this project, you agree to abide our [code of
conduct](/CODE_OF_CONDUCT.md).
## Setup your machine
`releaser` is written in [Go](https://golang.org/).
Prerequisites are:
* Build:
* `make`
2017-01-02 18:16:15 +01:00
* [Go 1.7+](http://golang.org/doc/install)
2017-01-02 18:08:49 +01:00
Clone `releaser` from source:
```sh
$ git clone https://github.com/goreleaser/releaser.git
$ cd releaser
```
Install the build and lint dependencies:
``` sh
$ make setup
```
A good way of making sure everything is all right is running the test suite:
``` sh
$ make test
```
## Test your change
You can create a branch for your changes and try to build from the source as you go:
``` sh
$ go build
```
When you are satisfied with the changes, we suggest you run:
``` sh
$ make ci
```
Which runs all the linters and tests.
## Submit a pull request
Push your branch to your `releaser` fork and open a pull request against the
master branch.