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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2017-08-15 12:23:28 +0300
committerJacob Vosmaer (GitLab) <jacob@gitlab.com>2017-08-15 12:23:28 +0300
commit5bee3f03b24f73e3ea75407524e0d4578d1ea42d (patch)
treefe10b3d5ca262a7ea4fe0ad88b9d644c5054fc6b /Makefile
parent0c0116f5d38386919e1f4993eb2187bf55c468ac (diff)
Codeclimate report fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1a4e9c5f8..c1e52f736 100644
--- a/Makefile
+++ b/Makefile
@@ -106,6 +106,10 @@ notice: $(TARGET_SETUP) $(GOVENDOR)
notice-up-to-date: $(TARGET_SETUP) $(GOVENDOR)
@(cd $(PKG_BUILD_DIR) && govendor license -template _support/notice.template | cmp - NOTICE) || (echo >&2 "NOTICE requires update: 'make notice'" && false)
+.PHONY: codeclimate-report
+codeclimate-report:
+ docker run --env CODECLIMATE_CODE="$(BUILD_DIR)" --volume "$(BUILD_DIR)":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f text
+
.PHONY: clean
clean:
rm -rf $(TARGET_DIR) $(TEST_REPO) $(TEST_REPO_STORAGE_PATH) ./internal/service/ssh/gitaly-*-pack .ruby-bundle