Sha256: aa7506b13d323958931786d42acbc412e54b852e8ac9b62933edb16b63c98819

Contents?: true

Size: 870 Bytes

Versions: 10

Compression:

Stored size: 870 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rdoc/task'

desc 'Generate documentation for the Casein gem.'
RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Casein'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

begin
  APP_RAKEFILE=File.expand_path('../spec/rails_test_app/Rakefile', __FILE__)
  load 'rails/tasks/engine.rake'

  Bundler::GemHelper.install_tasks
  Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each{|f| load f}
  require 'rspec/core'
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError => ex
  puts "RSpec tasks were unavailable"
  puts "*** #{ex}"
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
casein-5.3.2.0 Rakefile
casein-5.3.1.0 Rakefile
casein-5.3.0.0 Rakefile
casein-5.2.0.0 Rakefile
casein-5.1.1.5 Rakefile
casein-5.1.1.4 Rakefile
casein-5.1.1.3 Rakefile
casein-5.1.1.2 Rakefile
casein-5.1.1.1 Rakefile
casein-5.1.1.0 Rakefile