From f359615bb3b51c105f87c2214302ec5740559a09 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Wed, 23 Feb 2011 14:13:07 +0000 Subject: Moving tasks to lib as per deprecation warning. Have made a push request with this change to https://github.com/fauna/interlock --- vendor/plugins/interlock/lib/tasks/interlock.rake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vendor/plugins/interlock/lib/tasks/interlock.rake (limited to 'vendor/plugins/interlock/lib/tasks') diff --git a/vendor/plugins/interlock/lib/tasks/interlock.rake b/vendor/plugins/interlock/lib/tasks/interlock.rake new file mode 100644 index 000000000..a7089f112 --- /dev/null +++ b/vendor/plugins/interlock/lib/tasks/interlock.rake @@ -0,0 +1,10 @@ + +namespace :interlock do + desc "Watch the Rails log for Interlock-specific messages" + task :tail do + Dir.chdir RAILS_ROOT do + exec("tail -f log/#{RAILS_ENV}.log | grep interlock") + end + end +end + \ No newline at end of file -- cgit v1.2.3