saasitone/Makefile

25 lines
389 B
Makefile
Raw Permalink Normal View History

# Run the application
2021-12-11 11:00:10 -08:00
.PHONY: run
run: sqlc templ
2021-12-11 13:06:28 -08:00
clear
2022-11-02 16:23:26 -07:00
go run cmd/web/main.go
# Run all tests
.PHONY: test
2021-12-17 18:14:43 -08:00
test:
go test -count=1 -p 1 ./...
2024-07-11 21:09:15 -07:00
.PHONY: sqlc
sqlc:
rm -f pkg/models/sqlc/*
sqlc generate
.PHONY: templ
templ:
templ generate
# Check for direct dependency updates
.PHONY: check-updates
check-updates:
go list -u -m -f '{{if not .Indirect}}{{.}}{{end}}' all | grep "\["