summaryrefslogtreecommitdiff
path: root/vendor/github.com/sourcegraph/conc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/sourcegraph/conc/Makefile')
-rw-r--r--vendor/github.com/sourcegraph/conc/Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/vendor/github.com/sourcegraph/conc/Makefile b/vendor/github.com/sourcegraph/conc/Makefile
deleted file mode 100644
index 3e0720a12..000000000
--- a/vendor/github.com/sourcegraph/conc/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-.DEFAULT_GOAL := help
-
-GO_BIN ?= $(shell go env GOPATH)/bin
-
-.PHONY: help
-help:
- @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
-
-$(GO_BIN)/golangci-lint:
- @echo "==> Installing golangci-lint within "${GO_BIN}""
- @go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
-
-.PHONY: lint
-lint: $(GO_BIN)/golangci-lint ## Run linting on Go files
- @echo "==> Linting Go source files"
- @golangci-lint run -v --fix -c .golangci.yml ./...
-
-.PHONY: test
-test: ## Run tests
- go test -race -v ./... -coverprofile ./coverage.txt
-
-.PHONY: bench
-bench: ## Run benchmarks. See https://pkg.go.dev/cmd/go#hdr-Testing_flags
- go test ./... -bench . -benchtime 5s -timeout 0 -run=XXX -cpu 1 -benchmem