Sha256: f15a50a199d2d18413af62afa9821710f88e7ffb1095eebf760306b11f56fb96
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' require 'rake/contrib/sshpublisher' $LOAD_PATH << File.dirname(__FILE__) + "/lib" require "deep_test/rake_tasks" task :default => %w[test deep_test] Rake::TestTask.new do |t| t.pattern = "test/**/*_test.rb" t.libs += ['test', 'lib'] end DeepTest::TestTask.new :deep_test do |t| t.pattern = "test/**/*_test.rb" t.processes = 2 end desc "Generate documentation" Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = "doc" rdoc.title = "DeepTest" rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README', 'CHANGELOG') end desc "Upload RDoc to RubyForge" task :publish_rdoc => [:rdoc] do Rake::SshDirPublisher.new("dcmanges@rubyforge.org", "/var/www/gforge-projects/deep-test", "doc").upload end Gem::manage_gems specification = Gem::Specification.new do |s| s.name = "deep_test" s.summary = "DeepTest runs tests in multiple processes." s.version = "1.0.4" s.author = "anonymous z, Dan Manges, David Vollbracht" s.description = s.summary s.email = "daniel.manges@gmail.com" s.homepage = "http://deep-test.rubyforge.org" s.rubyforge_project = "deep-test" s.add_dependency "daemons", ">= 1.0.7" s.has_rdoc = true s.extra_rdoc_files = ['README'] s.rdoc_options << '--title' << "DeepTest" << '--main' << 'README' << '--line-numbers' s.autorequire = "deep_test" s.files = FileList['{lib,test}/**/*.{rb,rake}', 'README', 'Rakefile'].to_a end Rake::GemPackageTask.new(specification) do |package| package.need_zip = true package.need_tar = true end Rake::Task[:gem].prerequisites.unshift :deep_test Rake::Task[:gem].prerequisites.unshift :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deep_test-1.0.4 | Rakefile |