add Makefile

This commit is contained in:
agatha 2024-05-12 16:13:35 -04:00
parent ea76685f8f
commit d913a90947

17
Makefile Normal file
View File

@ -0,0 +1,17 @@
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
CLI_BINARY_NAME=ketotrack-cli
CLI_BUILD_DIR=./cmd/cli
.PHONY: all cli clean test
all: cli
cli:
$(GOBUILD) -o $(CLI_BINARY_NAME) $(CLI_BUILD_DIR)
clean:
$(GOCLEAN)
rm -f $(CLI_BINARY_NAME)