diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2017-08-15 12:23:28 +0300 |
---|---|---|
committer | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2017-08-15 12:23:28 +0300 |
commit | 5bee3f03b24f73e3ea75407524e0d4578d1ea42d (patch) | |
tree | fe10b3d5ca262a7ea4fe0ad88b9d644c5054fc6b /Makefile | |
parent | 0c0116f5d38386919e1f4993eb2187bf55c468ac (diff) |
Codeclimate report fixes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |