mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
20 lines
286 B
Makefile
20 lines
286 B
Makefile
GOCMD = go
|
|
GOBUILD = $(GOCMD) build
|
|
GOGET = $(GOCMD) get -v
|
|
GOCLEAN = $(GOCMD) clean
|
|
GOINSTALL = $(GOCMD) install
|
|
GOTEST = $(GOCMD) test
|
|
|
|
.PHONY: all
|
|
|
|
all: test
|
|
|
|
test:
|
|
$(GOTEST) -v -covermode=count -coverprofile=coverage.out ./...
|
|
|
|
build: test
|
|
$(GOBUILD)
|
|
|
|
install: test
|
|
$(GOINSTALL)
|