Sha256: e73a09a19de9d0986504a6aebd65bca8bac75df1a402d60def7f9440bed5080b
Contents?: true
Size: 826 Bytes
Versions: 1
Compression:
Stored size: 826 Bytes
Contents
# -*- ruby -*- require 'rubygems' require 'hoe' require 'spec' require 'spec/rake/spectask' require 'pathname' require './lib/datamapper4rails/version.rb' Hoe.new('datamapper4rail', Datamapper4rails::VERSION) do |p| p.rubyforge_name = 'datamapper4rail' p.developer('mkristian', 'm.kristian@web.de') p.extra_deps = ['slf4r'] p.remote_rdoc_dir = '' # Release to root 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 require 'yard' YARD::Rake::YardocTask.new # vim: syntax=Ruby
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datamapper4rail-0.2.0 | Rakefile |