Help in makefile, fixing clean target
This commit is contained in:
parent
c0e643f299
commit
f295312393
1 changed files with 11 additions and 1 deletions
12
Makefile
12
Makefile
|
@ -1,3 +1,13 @@
|
||||||
|
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:
|
build:
|
||||||
go build -o bin/beretta src/*.go
|
go build -o bin/beretta src/*.go
|
||||||
|
|
||||||
|
@ -8,4 +18,4 @@ build-container:
|
||||||
podman build -t beretta .
|
podman build -t beretta .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm beretta
|
rm -rf bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue