Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (34 sloc) 1.044 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
RUBY_ENHANCED_MARC_VERSION = '0.1'

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'

task :default => [:test]

Rake::TestTask.new('test') do |t|
  t.libs << 'lib'
  t.pattern = 'test/tc_*.rb'
  t.verbose = true
  t.ruby_opts = ['-r marc', '-r test/unit']
end

Rake::RDocTask.new('doc') do |rd|
  rd.rdoc_files.include("enhanced_marc/**/*.rb")
  rd.main = 'MARC::Record'
  rd.rdoc_dir = 'doc'
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    
    s.add_dependency('marc')
    s.add_dependency('locale')
    s.name = 'enhanced_marc'
    s.author = 'Ross Singer'
    s.email = 'rossfsinger@gmail.com'
    s.homepage = 'http://github.com/rsinger/enhanced-marc/tree'
    s.summary = 'A DSL for MARC data'
    s.description = 'A set of enhancements to ruby-marc to make parsing MARC data easier'
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Something went wrong with that request. Please try again.