16 lines
279 B
Makefile
16 lines
279 B
Makefile
.PHONY: build
|
|
|
|
build:
|
|
CGO_ENABLED=0 go build -o application main.go
|
|
test:
|
|
go test -coverprofile=coverage.out ./...
|
|
deps:
|
|
go mod tidy
|
|
run:
|
|
go run main.go server
|
|
migrate:
|
|
go run main.go migrate
|
|
generate:
|
|
go generate ./...
|
|
check:
|
|
CGO_ENABLED=0 go build -o application main.go
|