Sha256: 7bf71731a8963a49f58596a3b12b2e5550a7e6b3ec2f3d8ae08370091fe11206

Contents?: true

Size: 769 Bytes

Versions: 21

Compression:

Stored size: 769 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

task :default => :test

# I don't need this but I'll just leave it for future reference
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'RailsUtils'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.markdown')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rails_utils-4.0.0 Rakefile
rails_utils-3.3.6 Rakefile
rails_utils-3.3.5 Rakefile
rails_utils-3.3.4 Rakefile
rails_utils-3.3.3 Rakefile
rails_utils-3.3.2 Rakefile
rails_utils-3.3.1 Rakefile
rails_utils-3.3.0 Rakefile
rails_utils-3.2.2 Rakefile
rails_utils-3.2.1 Rakefile
rails_utils-3.2.0 Rakefile
rails_utils-3.1.2 Rakefile
rails_utils-3.1.1 Rakefile
rails_utils-3.1.0 Rakefile
rails_utils-3.0.0 Rakefile
rails_utils-2.1.4 Rakefile
rails_utils-2.1.3 Rakefile
rails_utils-2.1.2 Rakefile
rails_utils-2.1.1 Rakefile
rails_utils-2.1.0 Rakefile