A great way to start contributing is to send a detailed report when you encounter an issue.
When reporting issues, always include:
- the output of
sloppy version
- the output of
sloppy --debug [COMMAND]
Also include the steps necessary to reproduce the issue if possible. This will help us review and fix your issue quickly. Please consider removing sensitive data from your output before posting it.
When actually working on issues, please:
-
Fork this project
-
Setup a new branch to work in
-
Always run
make fmt
on your code before committing it -
Even if it's a minor change, you should always write tests
-
Run
make test
orscripts/test.sh
-
Try to write good commit messages for each change. Use the angularjs commit message guide
-
Push the commits to your fork and submit a pull request
To build locally you need to have go 1.6 or later. If not, please upgrade.
make local
You can also build different pre-releases of the sloppy CLI.
scripts/make.sh build beta # For single builds
scripts/make.sh build release # w/o pre-release
scripts/make.sh cross rc.[0-9] # For cross compiling
To build within a docker container:
make beta
The binaries created are stored in ./bundles/${VERSION}-${PRERELEASE}/
.