goipam/Makefile

20 lines
257 B
Makefile

release: deps templ
GIN_MODE=release go build -v -x -buildvcs=true .
dev: templ
go build .
./webframework -p=false
clean:
rm -f webframework
rm -f config.yaml
rm -f db.sqlite
templ:
templ fmt .
templ generate
deps:
go mod download
go mod tidy