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:
-rw-r--r--Makefile.util.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.util.mk b/Makefile.util.mk
index 781e9abd..7037f2ce 100644
--- a/Makefile.util.mk
+++ b/Makefile.util.mk
@@ -8,6 +8,9 @@ COVERAGE_PACKAGES=$(shell (go list ./... | grep -v $(addprefix -e ,$(IGNORED_DIR
lint: .GOPATH/.ok bin/golangci-lint
$Q ./bin/golangci-lint run ./... --out-format $(OUT_FORMAT) $(LINT_FLAGS) | tee ${REPORT_FILE}
+format: .GOPATH/.ok bin/golangci-lint
+ $Q ./bin/golangci-lint run ./... --fix --out-format $(OUT_FORMAT) $(LINT_FLAGS) | tee ${REPORT_FILE}
+
test: .GOPATH/.ok gitlab-pages
rm -f tests.out
go test $(if $V,-v) ./... ${ARGS} 2>&1 | tee tests.out