Sha256: 39cf997b83c4c5db24fbaf378ab5313fe63ed1158c194c46bc03dd9844d36943

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "roflbot"
    gem.summary = %Q{roflbot is a bot that says stuff on AIM and Twitter}
    gem.description = %Q{roflbot will make you a rofl waffle}
    gem.email = "viking415@gmail.com"
    gem.homepage = "http://github.com/viking/roflbot"
    gem.authors = ["Jeremy Stephens"]
    gem.add_dependency "net-toc"
    gem.add_dependency "treetop"
    gem.add_dependency "twitter"
    # 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: gem install jeweler"
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 :test => :check_dependencies

task :default => :test

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roflbot-0.0.5 Rakefile
roflbot-0.0.4 Rakefile
roflbot-0.0.3 Rakefile