Sha256: eed12f6639f90ad6213031af3326ca7b717ca3b7e5397cefe171c51c032b3721

Contents?: true

Size: 825 Bytes

Versions: 3

Compression:

Stored size: 825 Bytes

Contents

# encoding: utf-8

require 'rubygems'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new :spec do |t|
  t.rspec_opts = %w(-fs --color)
end

require 'rake'
require 'rake/rdoctask'
Rake::RDocTask.new { |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title    = "DBF - A small fast library for reading dBase, xBase, Clipper and FoxPro database files."
  rdoc.options << '--line-numbers'
  rdoc.template = "#{ENV['template']}.rb" if ENV['template']
  rdoc.rdoc_files.include('README.md', 'docs/supported_types.markdown', 'lib/**/*.rb')
}

task :default => :spec

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -I lib -r dbf.rb"
end

require 'metric_fu'
MetricFu::Configuration.run do |config|
  config.rcov[:test_files] = ['spec/**/*_spec.rb']  
  config.rcov[:rcov_opts] << "-Ispec"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dbf-1.5.2 Rakefile
dbf-1.5.1 Rakefile
dbf-1.5.0 Rakefile