Sha256: 5b2cea3fa076af3f654953bc477d00db74758a21b27937b4f09f439720103cac

Contents?: true

Size: 743 Bytes

Versions: 2

Compression:

Stored size: 743 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'
require './lib/rack_datamapper/version.rb'

require 'spec'
require 'spec/rake/spectask'
require 'pathname'
require 'yard'

Hoe.new('rack-datamapper', Rack::DataMapper::VERSION) do |p|
  p.developer('mkristian', 'm.kristian@web.de')
  p.extra_deps = ['dm-core']
end

desc 'Install the package as a gem.'
task :install => [:clean, :package] do
  gem = Dir['pkg/*.gem'].first
  sh "gem install --local #{gem} --no-ri --no-rdoc"
end

desc 'Run specifications'
Spec::Rake::SpecTask.new(:spec) do |t|
  if File.exists?('spec/spec.opts')
    t.spec_opts << '--options' << 'spec/spec.opts'
  end
  t.spec_files = Pathname.glob('./spec/**/*_spec.rb')
end

YARD::Rake::YardocTask.new

# vim: syntax=Ruby

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-datamapper-0.2.3 Rakefile
rack-datamapper-0.2.2 Rakefile