Sha256: 5d1abacdf8e2da0c32aafdef943169d88c19d497ce9dcf063c906fe106a23978
Contents?: true
Size: 1.31 KB
Versions: 4
Compression:
Stored size: 1.31 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "sparrow" gem.summary = %Q{Sparrow is a JMS client (JRuby based)} gem.email = "leandrodoze@gmail.com" gem.homepage = "http://github.com/leandrosilva/sparrow" gem.authors = ["Leandro Silva"] gem.files = FileList["[A-Z]*", "{lib,spec}/**/*"] # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings 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 = 'sparrow' 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 |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = false end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :default => :test
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
leandrosilva-sparrow-1.0.0 | Rakefile |
leandrosilva-sparrow-1.0.1 | Rakefile |
leandrosilva-sparrow-1.0.2 | Rakefile |
leandrosilva-sparrow-1.0.3 | Rakefile |