Sha256: 7a7eb331ca8b98d136b0f29da758e99c15c455fad43f4eb5c7fe714450a97367

Contents?: true

Size: 757 Bytes

Versions: 2

Compression:

Stored size: 757 Bytes

Contents

begin
  require 'bundler'

  Bundler::GemHelper.install_tasks
rescue LoadError
  $stderr.puts "Please install bundler with: gem install bundler"
end

$LOAD_PATH << File.expand_path('../lib', __FILE__)
require "sinatra/content_for2/version"

desc "Default: run all specs"
task :default => :spec

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new
rescue LoadError
  $stderr.puts "Please install RSpec 2"
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new do |t|
    t.options = ['--title', "Sinatra::ContentFor2 #{Sinatra::ContentFor2::VERSION}"]
    if defined?(Encoding)
      t.options << '--charset'
      t.options << 'utf-8'
    end
  end
rescue LoadError
  $stderr.puts "Yard is not installed. Please run gem install yard"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-content-for2-0.3 Rakefile
sinatra-content-for2-0.3.alpha1 Rakefile