added async connect API, new structure of examples
[govpp.git] / Makefile
1 build:
2         @cd cmd/binapi-generator && go build -v
3         @cd examples/cmd/simple-client && go build -v
4         @cd examples/cmd/stats-client && go build -v
5
6 test:
7         @cd cmd/binapi-generator && go test -cover .
8         @cd api && go test -cover ./...
9         @cd core && go test -cover .
10
11 install:
12         @cd cmd/binapi-generator && go install -v
13
14 clean:
15         @rm -f cmd/binapi-generator/binapi-generator
16         @rm -f examples/cmd/simple-client/simple-client
17         @rm -f examples/cmd/stats-client/stats-client
18
19 generate:
20         @cd core && go generate ./...
21         @cd examples && go generate ./...
22
23 lint:
24         @golint ./... | grep -v vendor | grep -v bin_api || true
25
26 .PHONY: build test install clean generate