Sha256: 404d56ab9d271311bda2ed6c3040cadd47533728fd6785cee497573307d971cf
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# -*- ruby -*- require 'rubygems' require 'hoe' require './lib/slf4r/version.rb' require 'spec' require 'spec/rake/spectask' require 'pathname' Hoe.new('slf4r', Slf4r::VERSION) do |p| p.rubyforge_name = 'slf4r' # if different than lowercase project name p.summary = 'Slf4r provides a uniform interface for instantiating und using of a logger' p.url = 'http://slf4r.rubyforge.com/' p.developer('mkristian', 'm.kristian@web.de') p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") p.remote_rdoc_dir = '' # Release to root end desc 'Install the package as a gem.' task :install => [:clean, :package] do Dir.new('tmp').each do |f| File.delete('tmp/' + f) if File.file?('tmp/' + f) end 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 # vim: syntax=Ruby
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slf4r-0.2.0 | Rakefile |