Skip to content

Common Contributor Routines

Omri Bornstein edited this page Apr 17, 2022 · 4 revisions

Testing

Running the following command will run go test on the cmd and internal sub-modules:

make test

Building From Source

Development

  • Using the following make command will save a cocainate binary with the last version tag and the latest git commit hash:
make debug

Release

  • Using the following GoReleaser command with a version git tag and a clean git state:
goreleaser build --rm-dist
  • All release artificats will stored in the dist child directory in the codebase's root directory:
    • compressed package archives with:
      • a cocainate binary
      • manual page
      • shell completion scripts
    • checksums
    • change log
Clone this wiki locally