summaryrefslogtreecommitdiff
path: root/tooling/overcommit/Makefile
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 15:08:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 15:08:51 +0000
commit1ea1db491c8bc90789acda45c9002aaa5c4dc498 (patch)
tree46d974fed38f2ea63e69bad9d43760c62611c958 /tooling/overcommit/Makefile
parent22e9af3c8b8aedf7f46b786be968862b74a2d07e (diff)
downloadgitlab-ce-1ea1db491c8bc90789acda45c9002aaa5c4dc498.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling/overcommit/Makefile')
-rw-r--r--tooling/overcommit/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tooling/overcommit/Makefile b/tooling/overcommit/Makefile
new file mode 100644
index 00000000000..7da3c7c0569
--- /dev/null
+++ b/tooling/overcommit/Makefile
@@ -0,0 +1,7 @@
+.PHONY: install
+
+install:
+ if [ -e ../../.overcommit.yml ]; then cp -f ../../.overcommit.yml ../../.overcommit.yml.backup; fi
+ cp ../../.overcommit.yml.example ../../.overcommit.yml
+ bundle install
+ cd ../../ && overcommit -i