Sha256: 29de8ed3d42cb5e7bc383263463bec96571fd099d65e82584a8ab52f563ca023

Contents?: true

Size: 1.32 KB

Versions: 12

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "fathom"
    gem.summary = %Q{Decision Support in Ruby}
    gem.description = %Q{Collecting some decision support tools in a decoupled Ruby library.}
    gem.email = "davidlamontrichards@gmail.com"
    gem.homepage = "http://github.com/davidrichards/fathom"
    gem.authors = ["David"]
    gem.add_development_dependency "rspec"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:core) do |spec|
  spec.pattern = 'spec/fathom/*_spec.rb'
  # spec.rspec_opts = ['--backtrace']
end

# 
# Spec::Rake::SpecTask.new(:rcov) do |spec|
#   spec.libs << 'lib' << 'spec'
#   spec.pattern = 'spec/**/*_spec.rb'
#   spec.rcov = true
# end
# 
# task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "fathom #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fathom-0.3.7 Rakefile
fathom-0.3.6 Rakefile
fathom-0.3.4 Rakefile
fathom-0.3.3 Rakefile
fathom-0.3.2 Rakefile
fathom-0.3.1 Rakefile
fathom-0.3.0 Rakefile
fathom-0.2.3 Rakefile
fathom-0.2.2 Rakefile
fathom-0.2.1 Rakefile
fathom-0.2.0 Rakefile
fathom-0.1.0 Rakefile