Sha256: f4abc582b1298f77931f688bf63bdd21a1196dd090ca0c998a5e67968bfb9aea

Contents?: true

Size: 946 Bytes

Versions: 8

Compression:

Stored size: 946 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'bundler/gem_tasks'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

# Get your spec rake tasks working in RSpec 2.0

require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc "Run specs"
RSpec::Core::RakeTask.new do |t|
  t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
  # Put spec opts in a file named .rspec in root
end


require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "rubydora #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -I lib -r rubydora.rb"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubydora-0.2.2 Rakefile
rubydora-0.2.1 Rakefile
rubydora-0.2.0 Rakefile
rubydora-0.1.9 Rakefile
rubydora-0.1.8 Rakefile
rubydora-0.1.7 Rakefile
rubydora-0.1.6 Rakefile
rubydora-0.1.5 Rakefile