OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / tendermint / go-wire / Makefile
1 .PHONEY: all docs test install get_vendor_deps ensure_tools
2
3 GOTOOLS = \
4         github.com/Masterminds/glide
5
6 STRING := ../../clipperhouse/stringer
7
8 all: test install
9
10 docs:
11         @go get github.com/davecheney/godoc2md
12         godoc2md $(REPO) > README.md
13
14 all: install test
15
16 install: 
17         go install github.com/tendermint/go-wire/cmd/...
18
19 test:
20         go test `glide novendor`
21
22 get_vendor_deps: ensure_tools
23         @rm -rf vendor/
24         @echo "--> Running glide install"
25         @glide install
26
27 ensure_tools:
28         go get $(GOTOOLS)
29
30 pigeon:
31         pigeon -o expr/expr.go expr/expr.peg
32
33 tools:
34         go get github.com/clipperhouse/gen
35         @cd ${STRING} && git remote add haus https://github.com/hausdorff/stringer.git
36         @cd ${STRING} && git fetch haus && git checkout fix-imports
37         @cd ${STRING} && go install .
38         @go install github.com/clipperhouse/gen
39