top | item 46397259

(no title)

be_erik | 2 months 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!

discuss

order

pranshuparmar|2 months ago

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