2024-02-22 10:18:59 +01:00
|
|
|
|
|
|
|
release: deps templ
|
|
|
|
GIN_MODE=release go build -v -x -buildvcs=true .
|
|
|
|
|
|
|
|
dev: templ
|
2024-02-22 20:52:37 +01:00
|
|
|
air
|
2024-02-22 10:18:59 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f webframework
|
|
|
|
rm -f config.yaml
|
|
|
|
rm -f db.sqlite
|
|
|
|
|
|
|
|
templ:
|
2024-02-22 20:52:37 +01:00
|
|
|
rm -f web/templates/*_templ.go
|
2024-02-22 10:18:59 +01:00
|
|
|
templ fmt .
|
|
|
|
templ generate
|
|
|
|
|
|
|
|
deps:
|
|
|
|
go mod download
|
2024-02-22 20:52:37 +01:00
|
|
|
go mod tidy
|