Skip to content

Commit 096ef61

Browse files
committed
把测试客户端移动到根目录, 增加各种错误码
1 parent c139541 commit 096ef61

File tree

9 files changed

+522
-506
lines changed

9 files changed

+522
-506
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: lint gate master notice store
1+
all: lint client gate master notice store
22

33
LDFLAGS += -X "github.com/dearcode/candy/util.BuildTime=$(shell date)"
44
LDFLAGS += -X "github.com/dearcode/candy/util.BuildVersion=$(shell git rev-parse HEAD)"
@@ -9,7 +9,7 @@ golint:
99
godep:
1010
go get github.com/tools/godep
1111

12-
.PHONY: gate master notice store
12+
.PHONY: client gate master notice store
1313

1414

1515

@@ -53,6 +53,10 @@ store: godep
5353
@echo "make store"
5454
@godep go build -ldflags '$(LDFLAGS)' -o bin/store ./cmd/store/main.go
5555

56+
client: godep
57+
@echo "make client"
58+
@godep go build -ldflags '$(LDFLAGS)' -o bin/client ./candy.go
59+
5660
test:
5761
@go test ./client/
5862
@go test ./notice/

0 commit comments

Comments
 (0)