Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



Alternatively you can use Nix! :P https://github.com/pranshuparmar/witr/pull/5


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: