Skip to content

Latest commit

 

History

History
95 lines (64 loc) · 2.37 KB

CONTRIBUTING.md

File metadata and controls

95 lines (64 loc) · 2.37 KB

Contributing

By participating in this project, you agree to abide our code of conduct.

Set up your machine

sgpt is written in Go.

Prerequisites:

Clone sgpt anywhere:

git clone git@github.com:tbckr/sgpt.git

cd into the directory and install the dependencies:

task setup

This will install the following tools and pre-commit hook:

Check that everything is working by running the validate:devtools task:

task validate:devtools

A good way to make sure everything else is okay is to run the test suite:

task test

Test your change

You can create a branch for your changes and try to build from the source as you go:

task build

When you are satisfied with the changes, we suggest you run:

task ci

Before you commit the changes, we also suggest you run:

task fmt

Create a commit

Commit messages should be well formatted, and to make that "standardized", we are using Conventional Commits.

You can follow the documentation on their website.

Submit a pull request

Push your branch to your sgpt fork and open a pull request against the main branch.