dnote/CONBTRIBUTING.md
Sung Won Cho 332fd8f8ca
Cross compile (#135)
* Cross compile

* Fix tarball name
2018-10-14 14:51:11 +10:00

812 B

Contributing

This is a guide for contributors.

Set up

First, download the project

go get github.com/dnote/cli

Go to the project root and download dependencies using dep.

dep ensure

Test

Run

./scripts/test.sh

Debug

Run Dnote with DNOTE_DEBUG=1 to print debugging statements.

Release

  • Build for all target platforms, tag, push tags
  • Release on GitHub and Dnote Homebrew tap.
VERSION=0.4.8 make release
  • Build, without releasing, for all target platforms
VERSION=0.4.8 make

Note

  • If a release is not stable,
    • disable the homebrew release by commenting out homebrew block in .goreleaser.yml
    • mark release as pre-release on GitHub release