diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
commit | 1ea1db491c8bc90789acda45c9002aaa5c4dc498 (patch) | |
tree | 46d974fed38f2ea63e69bad9d43760c62611c958 /tooling/overcommit/Makefile | |
parent | 22e9af3c8b8aedf7f46b786be968862b74a2d07e (diff) | |
download | gitlab-ce-1ea1db491c8bc90789acda45c9002aaa5c4dc498.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'tooling/overcommit/Makefile')
-rw-r--r-- | tooling/overcommit/Makefile | 7 |
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 |