21 lines
459 B
Makefile
21 lines
459 B
Makefile
help:
|
|
@echo -e "Makefile for beretta\n"
|
|
@echo "Available targets:"
|
|
@echo " build - Build a server binary"
|
|
@echo " run - Run the project"
|
|
@echo " build-container - Build OCI container"
|
|
@echo " clean - Clean up build files"
|
|
@echo " help - Show this help message"
|
|
@echo -e ""
|
|
|
|
build:
|
|
go build -o bin/beretta src/*.go
|
|
|
|
run:
|
|
go run src/*.go
|
|
|
|
build-container:
|
|
podman build -t beretta .
|
|
|
|
clean:
|
|
rm -rf bin
|