Sha256: df5267063f19ccab5e4edd90f1b85f62c9403756d0b65580c3802202e4b67069

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 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 and XML 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"]
    
    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("sys-uname","0.8.4")
  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

1 entries across 1 versions & 1 rubygems

Version Path
simple-spreadsheet-extractor-0.3.4 Rakefile