The Mint CLI is an open-source project and we welcome any contributions from other developers interested in test automation.
When opening a new GitHub issue, make sure to include any relevant information, such as:
- What version of Mint are you using (see
mint --version
)? - What system / CI environment are you running the CLI on?
- What did you do?
- What did you expect to see?
- What did you see instead?
We use GitHub pull requests for code contributions and reviews.
Our CI system will run tests & our linting setup against new pull requests, but
to shorten your feedback cycle, we would appreciate if
go run ./tools/mage lint
and go run ./tools/mage test
pass before
opening a PR.
You should not need any dependencies outside of Go to work on the Mint CLI.
We use Mage as the build tool for our project. To show
a list of available targets, run go run ./tools/mage -l
:
Targets:
all cleans output, builds, tests, and lints.
build* builds the Mint-CLI
clean removes any generated artifacts from the repository.
lint runs the linter & performs static-analysis checks.
lintFix Applies lint checks and fixes any issues.
test executes the test-suite for the Mint-CLI.
* default target
Mage can also be installed as command-line applications. This is not strictly necessary, but is a bit nicer to use.
Besides the --debug
flag, some useful options during development are:
MINT_HOST
to route API traffic to a different host.