Commit 8057b920 by Cuong Tran

Merge pull request #29 from jeremyolliver/rake_compatibility

Compatibility patch
parents e2d3beb7 4d57e4fe
...@@ -16,6 +16,7 @@ module Annotate ...@@ -16,6 +16,7 @@ module Annotate
def self.load_tasks def self.load_tasks
if File.exists?('Rakefile') if File.exists?('Rakefile')
require 'rake'
load 'Rakefile' load 'Rakefile'
Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake } Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment