16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
.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
|
||||
Reference in New Issue
Block a user