halp is a simple cli tool written in Go for small helper functions.
To install/update halp on an OSX build, you can do so using Homebrew. If you have not already, add the halp tap to your brew taps:
brew tap josh5276/halp [email protected]:josh5276/halp
Once tapped, you can install/upgrade/remove halp using the regular brew methods
brew update && brew install halp
brew update && brew upgrade halp
brew uninstall halp
- Run all tests
make tests
- Run linting
make lint
The release for halp includes a few things:
- Building of the Go binary
- Debian build for Linux installations
- Brew build for OSX installations (this includes the formula.rb generation)
- Archive build of tar.gz files
- Drafting of a new release in github.
Once you have completed the prereqs, you should be able to draft a new release using make:
make release
Note: this requires a clean git status and a new git tag. If you are wanting to test this release, runmake testrelease
Halp uses a go-key library that has a dependency on an Go Sqlite library. Sqlite requires C and has a dependency on the GCC build, which is not compatible.
To get around this, you can manually install the linux gcc libraries by running
brew install FiloSottile/musl-cross/musl-cross
- NOTE: the goreleaser file already contains the arguments to reference the linux-gcc builds.
See: mattn/go-sqlite3#384 for more information.
Send an email to Me!