Sha256: c11b303e7b4ee26f1f2f4c23c1f877e11e1bfa93e794cf12b487813bfa708933
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
require 'spec/rake/spectask' require 'rake/rdoctask' require "rubygems" Gem::manage_gems require "rake/gempackagetask" task :default => :spec desc "Run all specs" Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] end desc "Build the RDoc" Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "exact4r" rdoc.options << '--main' << 'README' << "--inline-source" << "--line-numbers" rdoc.rdoc_files.include('CHANGELOG', 'LICENCE', 'README', 'VERSION', 'lib/**/*.rb') } desc "Build the exact4r gem" spec = Gem::Specification.new do |s| s.name="exact4r" s.author = "E-xact Transactions Ltd." s.homepage = "http://e-xact4r.rubyforge.org/" s.rubyforge_project = "exact4r" s.email = "dredmond@e-xact.com" s.version=`cat VERSION` s.summary = 'E-xact Web Services Client Library.' s.files = FileList["./**/**"].to_a s.has_rdoc = true s.extra_rdoc_files = ['CHANGELOG', 'LICENCE', 'README', 'VERSION'] s.rdoc_options << '--main' << 'README' << '--inline-source' << '--line-numbers' s.add_dependency('activesupport', '>= 2.0.2') s.add_dependency('builder', '>= 2.1.2') end Rake::GemPackageTask.new(spec) do |pkg| pkg.need_tar = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
exact4r-0.5.2 | ./Rakefile |
exact4r-0.5.1 | ./Rakefile |
exact4r-0.6 | ./Rakefile |