Sha256: 1b4a604dee525b931c80741296de3a4f3de2e4682964d23b86c731a6adbba5f4

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

def dump_load_path
  puts $LOAD_PATH.join("\n")
  found = nil
  $LOAD_PATH.each do |path|
    if File.exists?(File.join(path,"rspec"))
      puts "Found rspec in #{path}"
      if File.exists?(File.join(path,"rspec","core"))
        puts "Found core"
        if File.exists?(File.join(path,"rspec","core","rake_task"))
          puts "Found rake_task"
          found = path
        else
          puts "!! no rake_task"
        end
      else
        puts "!!! no core"
      end
    end
  end
  if found.nil?
    puts "Didn't find rspec/core/rake_task anywhere"
  else
    puts "Found in #{path}"
  end
end
require "bundler"
require "rake/clean"

require "rake/testtask"

require "cucumber"
require "cucumber/rake/task"
gem "rdoc" # we need the installed RDoc gem, not the system one
require "rdoc/task"

include Rake::DSL

Bundler::GemHelper.install_tasks


Rake::TestTask.new do |t|
  t.pattern = "test/tc_*.rb"
end

Rake::RDocTask.new do |rd|

  rd.main = "README.rdoc"

  rd.rdoc_files.include("lib/**/*.rb","bin/**/*")
end

task :default => [:test,:features]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pave-0.5.0 Rakefile
pave-0.4.0 Rakefile
pave-0.3.0 Rakefile
pave-0.2.2 Rakefile
pave-0.2.1 Rakefile
pave-0.2.0 Rakefile