diff options
author | Felix Lange <fjl@twurst.com> | 2017-02-27 06:52:10 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-03-07 08:33:05 +0800 |
commit | 9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16 (patch) | |
tree | 7a2062b50d4375c635b918a40742003db1f06edb | |
parent | 07c216d603d7b366c177295761280acc706a9382 (diff) | |
download | dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar.gz dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar.bz2 dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar.lz dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar.xz dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.tar.zst dexon-9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16.zip |
Makefile: add devtools target
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -40,6 +40,15 @@ test: all clean: rm -fr build/_workspace/pkg/ $(GOBIN)/* +# The devtools target installs tools required for 'go generate'. +# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'. + +devtools: + go get -u golang.org/x/tools/cmd/stringer + go get -u github.com/jteeuwen/go-bindata/go-bindata + go get -u github.com/fjl/gencodec + go install ./cmd/abigen + # Cross Compilation Targets (xgo) geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios |