Sha256: c170102d337cb08406903fee4752d40092f6374a267c3938bc3b2e557a4e7f4e

Contents?: true

Size: 809 Bytes

Versions: 12

Compression:

Stored size: 809 Bytes

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'

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

task :default => :test

require 'rake/rdoctask'

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

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
messenger-0.5.0 Rakefile
messenger-0.4.4 Rakefile
messenger-0.4.3 Rakefile
messenger-0.4.2 Rakefile
messenger-0.4.1 Rakefile
messenger-0.4.0 Rakefile
messenger-0.3.6 Rakefile
messenger-0.3.5 Rakefile
messenger-0.3.4 Rakefile
messenger-0.3.3 Rakefile
messenger-0.3.1 Rakefile
messenger-0.3.0 Rakefile