Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-05-29 05:01:58 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-05-29 05:01:58 +0300
commit60beff0794ee0865ce36ebfd4b5864c737c797d6 (patch)
treee1e25679cfcb0a6aa4013ba84243d9c7f10674cd
parentf52ca2dc5a8483c25c02378846567a0d8e4a47a7 (diff)
Remove lint-docker
-rw-r--r--Makefile.util.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk
index 93689d5f..ea465fbf 100644
--- a/Makefile.util.mk
+++ b/Makefile.util.mk
@@ -1,6 +1,6 @@
GOLANGCI_LINT_IMAGE := golangci/golangci-lint:$(GOLANGCI_LINT_VERSION)
-.PHONY: lint lint-docker test race acceptance bench cover list deps-check deps-download
+.PHONY: lint test race acceptance bench cover list deps-check deps-download
OUT_FORMAT ?= colored-line-number
LINT_FLAGS ?= $(if $V,-v)
@@ -9,10 +9,6 @@ REPORT_FILE ?=
lint: .GOPATH/.ok bin/golangci-lint
$Q ./bin/golangci-lint run ./... --out-format $(OUT_FORMAT) $(LINT_FLAGS) | tee ${REPORT_FILE}
-lint-docker:
- docker run -v $(PWD):/app -w /app $(GOLANGCI_LINT_IMAGE) \
- sh -c "golangci-lint run ./... --out-format $(OUT_FORMAT) $(LINT_FLAGS) | tee ${REPORT_FILE}"
-
test: .GOPATH/.ok gitlab-pages
go test $(if $V,-v) $(allpackages)