Sha256: 6750e3b75d5d8b79682eb6dd228edede6932ac89f59df959a3cc9747c3e7ea9e

Contents?: true

Size: 801 Bytes

Versions: 7

Compression:

Stored size: 801 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
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 = 'doc'
  rdoc.title    = 'sumatra-rails'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.md')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sumatra-rails-0.0.6.1 Rakefile
sumatra-rails-0.0.6 Rakefile
sumatra-rails-0.0.5 Rakefile
sumatra-rails-0.0.4.1 Rakefile
sumatra-rails-0.0.4 Rakefile
sumatra-rails-0.0.3.1 Rakefile
sumatra-rails-0.0.2 Rakefile