Skip to content

Commit

Permalink
chore: use goreman to start principal and agent
Browse files Browse the repository at this point in the history
Signed-off-by: Jayendra Parsai <[email protected]>
  • Loading branch information
Jayendra Parsai committed Sep 24, 2024
1 parent 77d8900 commit 03411b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
principal: hack/demo-env/start-principal.sh
agent: hack/demo-env/start-agent-managed.sh

0 comments on commit 03411b2

Please sign in to comment.