Sha256: 4cc59e34600c5c7b10357ab620350b3869efdd6fc06455d04afffe52665c77a7

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rubygems'

require 'rake/gempackagetask'

task :default => [:test]

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "simple-spreadsheet-extractor"
    gemspec.summary = "Basic spreadsheet content extraction using Apache POI"
    gemspec.description = "Takes a stream to a spreadsheet file and produces an XML or CSV representation of its contents"
    gemspec.email = "stuart.owen@manchester.ac.uk"
    gemspec.homepage = "http://github.com/myGrid/simple-spreadsheet-extractor-gem"
    gemspec.authors = ["Stuart Owen","Finn Bacall"]

    gemspec.has_rdoc = true
    gemspec.files.include %w(jars)
    gemspec.files.exclude "test/*"
    gemspec.extra_rdoc_files = ["README.rdoc", "LICENCE"]
    #gemspec.add_dependency("POpen4","0.1.4")
    gemspec.add_dependency("open4","1.3.0")
  end
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

task:test do
  Rake::TestTask.new do |t|
    t.libs << "test"
    t.test_files = FileList['test/test*.rb']
    t.verbose = true
  end
end

#end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple-spreadsheet-extractor-0.9.1 Rakefile
simple-spreadsheet-extractor-0.8.0 Rakefile