Makefile now supports calling recursive build and test
@@ -4,14 +4,15 @@ GOBIN?=${GOPATH}/bin
PROTOS = $(wildcard pkg/*/apis/**/*.proto)
PBS = $(PROTOS:%.proto=%.pb)
-all: protos deviceplugin
+all: protos build
protos: ${PBS}
%.pb: %.proto
PATH=~/bin:$${PATH}:$(GOBIN) protoc -I $(dir $*.proto) $*.proto --go_out=plugins=grpc:$(dir $*.proto)
-deviceplugin:
- @echo Building deviceplugin
- cd deviceplugin && go build
+build:
+ @echo Building Network Service Mesh
+ # go build -i -v ./...
+ go test ./...
-.PHONY: deviceplugin all
+.PHONY: build all
