Sha256: 4a7d033bbd6d4d7f1200ec2c01a6ec5a21aedf3c7d4843bf267a5b6855ea8fc9

Contents?: true

Size: 619 Bytes

Versions: 17

Compression:

Stored size: 619 Bytes

Contents

require 'rubygems'
require 'rake'
require 'makefile' # our replacement for rake's make-style dependency loader

class Rake::Task
  attr_reader :already_invoked
end

class RakeWrapper

  def initialize
    @makefile_loader = Rake::MakefileLoader.new # use our custom replacement noted above
  end

  def [](task)
    return Rake::Task[task]
  end

  def task_list
    return Rake::Task.tasks
  end

  def create_file_task(file_task, dependencies)
    file(file_task => dependencies)
  end

  def load_dependencies(dependencies_path)
    @makefile_loader.load(dependencies_path)
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ceedling-0.9.4 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.9.2 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.9.0 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.18 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.17 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.16 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.15 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.14 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.13 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.12 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.8 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.7 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.5 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.4 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.3 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.2 new_project_template/vendor/ceedling/lib/rake_wrapper.rb
ceedling-0.0.1 new_project_template/vendor/ceedling/lib/rake_wrapper.rb