fix: cannot run main app

This commit is contained in:
ericprd
2025-02-23 13:04:30 +08:00
parent 3dd84e6932
commit a95a5ca521
5 changed files with 25 additions and 4 deletions
+16 -2
View File
@@ -1,2 +1,16 @@
test:
echo "Hello world"
BINARY_NAME=./cmd/legalgo/main.go
OUTPUT_DIR=./bin/legalgo
all: build
build:
@echo "Building the Go project..."
go build -o $(OUTPUT_DIR) $(BINARY_NAME)
run: build
@echo "Building and running..."
$(OUTPUT_DIR)
clean:
@echo "Cleaning the build..."
rm -f $(OUTPUT_DIR)