goipam/Makefile

21 lines
258 B
Makefile

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