diff options
Diffstat (limited to 'lib/tasks/update_hooks.rake')
-rw-r--r-- | lib/tasks/update_hooks.rake | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/tasks/update_hooks.rake b/lib/tasks/update_hooks.rake deleted file mode 100644 index 8deaf9586e2..00000000000 --- a/lib/tasks/update_hooks.rake +++ /dev/null @@ -1,15 +0,0 @@ -desc "Rewrite hooks for repos" -task :update_hooks => :environment do - puts "Starting Projects" - Project.find_each(:batch_size => 100) do |project| - begin - if project.commit - project.write_hooks - print ".".green - end - rescue Exception => e - print e.message.red - end - end - puts "\nDone with projects" -end |