Sha256: 6c404d833525b72bb260d96220325cb4799df26a200746cc00aa40dd60d9358f
Contents?: true
Size: 578 Bytes
Versions: 7
Compression:
Stored size: 578 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) require 'annotate_sequel/version' require 'annotate_sequel/model' module Annotate def self.loaded_tasks=(val); @loaded_tasks = val; end def self.loaded_tasks; return @loaded_tasks; end def self.load_tasks return if(self.loaded_tasks) self.loaded_tasks = true Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake } end def self.bootstrap_rake if File.exists?("./Rakefile") load "./Rakefile" end Rake::Task[:environment].invoke rescue nil self.load_tasks end end
Version data entries
7 entries across 7 versions & 1 rubygems