Sha256: af91619b2598aa4ced511da91533c6067c0f93fed359d761a2d50a211a7e3172

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "metamri"
    gemspec.summary = "MRI metadata"
    gemspec.description = "Extraction of MRI metadata and insertion into compatible sqlite3 databases."
    gemspec.email = "kk4@medicine.wisc.edu"
    gemspec.homepage = "http://github.com/brainmap/metamri"
    gemspec.authors = ["Kristopher J. Kosmatka"]
    gemspec.add_dependency('sqlite3-ruby')
    gemspec.add_dependency('dicom')
    # gemspec.add_dependency('rmagick')
    gemspec.add_development_dependency('rspec')
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

begin
  require 'spec/rake/spectask'
  Spec::Rake::SpecTask.new do |test|
    test.warning = true
    test.rcov = true
    test.spec_files = FileList['spec/**/*_spec.rb']
  end
rescue LoadError
  task :spec do
    abort "RSpec is not available.  In order to run specs, you must: sudo gem install rspec"
  end
end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
metamri-0.2.5 Rakefile
metamri-0.2.4 Rakefile
metamri-0.2.3 Rakefile
metamri-0.2.2 Rakefile
metamri-0.2.1 Rakefile
metamri-0.2.0 Rakefile