Comment by be_erik
16 hours ago
If you're looking to build and install this from source, here's the incantation:
CGO_ENABLED=0 go build -ldflags "-X main.version=dev -X main.commit=$(git rev-parse --short HEAD) -X 'main.buildDate=$(date +%Y-%m-%d)'" -o witr ./cmd/witr
Call me old-fashioned, but if there's an install.sh, I would hope it would prefer the local src over binaries.
Very cool utility! Simple tools like these keep me glued to the terminal. Thank you!
Thanks! Glad you like it Thanks to @sestep, Nix support is already added, so no need to worry about binaries.
Alternatively you can use Nix! :P https://github.com/pranshuparmar/witr/pull/5