diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-02-23 14:13:07 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2011-02-23 14:13:07 +0000 |
commit | f359615bb3b51c105f87c2214302ec5740559a09 (patch) | |
tree | 5b9581329f78a64380eed9928862916e1602b1d7 /vendor/plugins/interlock/lib | |
parent | ffbbae3e6138f91ab2b8b07e207a8074bd0adb81 (diff) |
Moving tasks to lib as per deprecation warning. Have made a push request with this change to https://github.com/fauna/interlock
Diffstat (limited to 'vendor/plugins/interlock/lib')
-rw-r--r-- | vendor/plugins/interlock/lib/tasks/interlock.rake | 10 |
1 files changed, 10 insertions, 0 deletions
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 |