14 lines
174 B
Makefile
14 lines
174 B
Makefile
REPO_ROOT := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
|
|
|
.PHONY: build run codegen
|
|
|
|
build:
|
|
go build
|
|
|
|
run:
|
|
make build
|
|
./main
|
|
|
|
codegen:
|
|
$(REPO_ROOT)/scripts/codegen.sh
|