diff options
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 |