Sha256: 0e52bb4277ba53806caa6b337af2664fd1482512ae9ce8604a85fa1998fa39b4

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "roast"
    gem.executables = "roast"
    gem.summary = %Q{A Campfire command line tool to send simple messages to your Campfire room from the command line}
    gem.email = "kyle@digitalworkbox.com"
    gem.homepage = "http://github.com/kdaigle/roast"
    gem.authors = ["Kyle Daigle"]
    gem.add_dependency "tinder"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end


task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kdaigle-roast-0.0.3 Rakefile
kdaigle-roast-0.0.4 Rakefile
kdaigle-roast-0.0.5 Rakefile
kdaigle-roast-0.0.6 Rakefile
kdaigle-roast-0.0.7 Rakefile