Created
October 20, 2015 18:13
-
-
Save davecgh/c8f0ebd1bd5e3ca73607 to your computer and use it in GitHub Desktop.
Shell script to build btcd with the git commit in the description.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd $GOPATH/src/github.com/btcsuite/btcd | |
go build -ldflags "-X main.appBuild=$(git describe)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment