1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/CONTRIBUTING.md

55 lines
929 B
Markdown
Raw Normal View History

2017-01-02 19:08:49 +02: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 19:16:15 +02:00
* [Go 1.7+](http://golang.org/doc/install)
2017-01-02 19:08:49 +02:00
Clone `releaser` from source:
```sh
2017-01-15 00:01:32 +02:00
$ git clone https://github.com/goreleaser/goreleaser.git
2017-01-02 19:08:49 +02:00
$ 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.