Initial commit
This commit is contained in:
22
vendor/github.com/briandowns/openweathermap/Makefile
generated
vendored
Normal file
22
vendor/github.com/briandowns/openweathermap/Makefile
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
GOCMD = go
|
||||
GOBUILD = $(GOCMD) build
|
||||
GOGET = $(GOCMD) get -v
|
||||
GOCLEAN = $(GOCMD) clean
|
||||
GOINSTALL = $(GOCMD) install
|
||||
GOTEST = $(GOCMD) test
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: test
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(GOTEST) -v -covermode=count -coverprofile=coverage.out ./...
|
||||
|
||||
.PHONY: build
|
||||
build: test
|
||||
$(GOBUILD)
|
||||
|
||||
.PHONY: install
|
||||
install: test
|
||||
$(GOINSTALL)
|
||||
Reference in New Issue
Block a user