Sha256: 46be3bb6aef9f1ffb8f307116e6f1296e934cb5f490b419014c09aaad86cc24b

Contents?: true

Size: 1.19 KB

Versions: 10

Compression:

Stored size: 1.19 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "sinatra-helpers"
    s.summary = %Q{a bunch of useful helpers for sinatra applications}
    s.email = "brentf@unwwwired.net"
    s.homepage = "http://github.com/sbfaulkner/sinatra-helpers"
    s.description = "a bunch of useful helpers for sinatra applications"
    s.authors = ["S. Brent Faulkner"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'sinatra-helpers'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

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

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.libs << 'test'
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose = true
  end
rescue LoadError
  puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end

task :default => :test

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
tdreyno-middleman-0.2.8 vendor/sinatra-helpers/Rakefile
tdreyno-middleman-0.2.9 vendor/sinatra-helpers/Rakefile
tdreyno-middleman-0.3.0 vendor/sinatra-helpers/Rakefile
tdreyno-middleman-0.3.1 vendor/sinatra-helpers/Rakefile
middleman-0.3.6 vendor/sinatra-helpers/Rakefile
middleman-0.3.5 vendor/sinatra-helpers/Rakefile
middleman-0.2.8 vendor/sinatra-helpers/Rakefile
middleman-0.2.9 vendor/sinatra-helpers/Rakefile
middleman-0.3.0 vendor/sinatra-helpers/Rakefile
middleman-0.3.1 vendor/sinatra-helpers/Rakefile