diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-03-21 09:13:26 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-04-13 17:22:02 -0700 |
commit | ce74c5ac55fdb51582268046632943e510a19f00 (patch) | |
tree | a0beb2382abe73f4db19c58aaa625f818a010800 /sms-service/src/quorumclient/Makefile | |
parent | 2dd9f3de5b33d6acbcb641566b9e7d3ccbe91d8c (diff) |
Adding secure init code for backend
Changes to allow quorum client to SMS communication
Introducing a registration api for quorum clients to get
their shard piece in PGP encrypted form from SMS
Tested with 3 quorum clients. This is now ready for review.
Issue-ID: AAF-168
Change-Id: I7a6ade792c1e5ebcf00cbc8c4a1f1942c006e7c7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service/src/quorumclient/Makefile')
-rw-r--r-- | sms-service/src/quorumclient/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sms-service/src/quorumclient/Makefile b/sms-service/src/quorumclient/Makefile index 720be29..00e12a7 100644 --- a/sms-service/src/quorumclient/Makefile +++ b/sms-service/src/quorumclient/Makefile @@ -1,13 +1,14 @@ GOPATH := $(shell realpath "$(CURDIR)/../../")
BINARY := quorumclient
PLATFORM := linux
+DEPENDENCIES := github.com/golang/dep/cmd/dep
export GOPATH ...
all: test build
deploy: test build
-build: format
+build: deps format
CGO_ENABLED=0 GOOS=$(PLATFORM) go build -a \
-ldflags '-extldflags "-static"' \
-o $(GOPATH)/target/$(BINARY) -v quorumclient.go
@@ -22,4 +23,8 @@ test: format:
go fmt ./...
+deps:
+ go get -u $(DEPENDENCIES)
+ $(GOPATH)/bin/dep ensure
+
.PHONY: test
|