Sha256: cd57e56f1ab835c8095855cca8436f934a87c7381db851c3b0dbcb8672410d49

Contents?: true

Size: 1019 Bytes

Versions: 1

Compression:

Stored size: 1019 Bytes

Contents

require "rubygems"
require "rake/testtask"
require "rake/rdoctask"
require "jeweler"

task :default => :test

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/**/*_test.rb']
  t.verbose = true
end

Rake::TestTask.new("example") do |t|
  t.libs << "example"
  t.test_files = FileList['example/**/*_example.rb']
  t.verbose = true
end

Jeweler::Tasks.new do |gemspec|
  gemspec.name = "mailbox"
  gemspec.summary = "Mailbox is a JRuby module that simplifies concurrency and is backed by JVM threads."
  gemspec.description = gemspec.summary
  gemspec.email = "asher.friedman@gmail.com"
  gemspec.homepage = "http://joelash.github.com/mailbox"
  gemspec.authors = ["Joel Friedman", "Patrick Farley"]

  gemspec.add_dependency "jretlang"

  gemspec.rubyforge_project = "mailbox"
end

Jeweler::RubyforgeTasks.new do |rubyforge|
  rubyforge.doc_task = "rdoc"
end

Rake::RDocTask.new do |rdoc|
  rdoc.main = "README"
  rdoc.rdoc_files.include("README", "lib/**/*.rb")
  rdoc.rdoc_dir = "rdoc"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailbox-0.1.3 Rakefile