summaryrefslogtreecommitdiff
path: root/task/git_hooks.rake
diff options
context:
space:
mode:
Diffstat (limited to 'task/git_hooks.rake')
-rw-r--r--task/git_hooks.rake12
1 files changed, 0 insertions, 12 deletions
diff --git a/task/git_hooks.rake b/task/git_hooks.rake
index 0b8aab2ff9..e70d66afaa 100644
--- a/task/git_hooks.rake
+++ b/task/git_hooks.rake
@@ -1,18 +1,6 @@
# frozen_string_literal: true
directory ".git/hooks"
-file ".git/hooks/post-commit" => [__FILE__] do |t|
- File.open(t.name, "w") {|f| f << <<-SH }
-#! /usr/bin/env sh
-
-set -e
-
-.git/hooks/run-ruby bin/rake generate_files
- SH
-
- chmod 0o755, t.name, :verbose => false
-end
-
file ".git/hooks/pre-commit" => [__FILE__] do |t|
File.open(t.name, "w") {|f| f << <<-SH }
#!/bin/sh