mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-06 05:04:29 +08:00
* fix go-namecheap vendor, already applied upstream * updating metadata with govendor * add one additional file from govendor update that was missed initially
24 lines
386 B
Makefile
24 lines
386 B
Makefile
.PHONY: all fmt vet lint build test
|
|
.DEFAULT: default
|
|
|
|
all: build fmt lint test vet
|
|
|
|
build:
|
|
@echo "+ $@"
|
|
@go build -tags "$(BUILDTAGS) cgo" .
|
|
|
|
fmt:
|
|
@echo "+ $@"
|
|
@gofmt -l . | grep -v vendor | tee /dev/stderr
|
|
|
|
lint:
|
|
@echo "+ $@"
|
|
@golint ./... | grep -v vendor | tee /dev/stderr
|
|
|
|
test:
|
|
@echo "+ $@"
|
|
@go test -v
|
|
|
|
vet:
|
|
@echo "+ $@"
|
|
@go vet $(shell go list ./... | grep -v vendor)
|