Skip to content

Commit

Permalink
refactor: Add makefile for visualization service build, run, test, an…
Browse files Browse the repository at this point in the history
…d proto tasks
  • Loading branch information
doziestar committed Jul 4, 2024
1 parent 7be1647 commit 433baf8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions internal/visualization/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.PHONY: build run test proto

build:
go build -o bin/visualization-server cmd/server/main.go

run: build
./bin/visualization-server

test:
go test ./...

proto:
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
api/proto/visualization.proto

0 comments on commit 433baf8

Please sign in to comment.