Revision: Rename to 'maglevd'; Refactor config structure
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,15 +1,15 @@
|
||||
BINARY := healthchecker
|
||||
BINARY := maglevd
|
||||
MODULE := git.ipng.ch/ipng/vpp-maglev
|
||||
PROTO_DIR := proto
|
||||
PROTO_FILE := $(PROTO_DIR)/healthchecker.proto
|
||||
GEN_FILES := internal/grpcapi/healthchecker.pb.go internal/grpcapi/healthchecker_grpc.pb.go
|
||||
PROTO_FILE := $(PROTO_DIR)/maglev.proto
|
||||
GEN_FILES := internal/grpcapi/maglev.pb.go internal/grpcapi/maglev_grpc.pb.go
|
||||
|
||||
.PHONY: all build test proto lint clean
|
||||
|
||||
all: build
|
||||
|
||||
build: $(GEN_FILES)
|
||||
go build -o bin/$(BINARY) ./cmd/$(BINARY)/
|
||||
go build -o bin/$(BINARY) ./cmd/maglevd/
|
||||
|
||||
test: $(GEN_FILES)
|
||||
go test ./...
|
||||
|
||||
Reference in New Issue
Block a user