Comment by be_erik

Comment by be_erik 5 days ago

2 replies

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!

pranshuparmar 4 days ago

Thanks! Glad you like it Thanks to @sestep, Nix support is already added, so no need to worry about binaries.