From ce74c5ac55fdb51582268046632943e510a19f00 Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Wed, 21 Mar 2018 09:13:26 -0700 Subject: 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 --- sms-service/src/quorumclient/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sms-service/src/quorumclient/Makefile') 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 -- cgit 1.2.3-korg