From 03411b202acb009805e7e385b9177524e5d40a81 Mon Sep 17 00:00:00 2001 From: Jayendra Parsai Date: Tue, 24 Sep 2024 12:14:43 +0530 Subject: [PATCH] chore: use goreman to start principal and agent Signed-off-by: Jayendra Parsai --- Makefile | 5 +++++ Procfile | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 Procfile diff --git a/Makefile b/Makefile index 24feae6..e54fefc 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ BIN_OS?=$(shell go env GOOS) current_dir := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) BIN_DIR := $(current_dir)/build/bin +GOBIN=$(shell go env GOPATH)/bin PROTOC_GEN_GO_VERSION?=v1.28 PROTOC_GEN_GO_GRPC_VERSION=v1.2 @@ -24,6 +25,10 @@ MOCKERY_V2_VERSION?=v2.43.0 .PHONY: build build: agent principal +.PHONY: start +start: + goreman start + .PHONY: test test: mkdir -p test/out diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..e2748b4 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +principal: hack/demo-env/start-principal.sh +agent: hack/demo-env/start-agent-managed.sh \ No newline at end of file