Sha256: f69c22fb637414b39bdc33b4e51829761e7b07972858fd3fccb7b37bb2551689

Contents?: true

Size: 767 Bytes

Versions: 8

Compression:

Stored size: 767 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

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 'rdoc/task'

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
djatoka-0.3.2 Rakefile
djatoka-0.3.1 Rakefile
djatoka-0.3.0 Rakefile
djatoka-0.2.4 Rakefile
djatoka-0.2.3 Rakefile
djatoka-0.2.2 Rakefile
djatoka-0.2.1 Rakefile
djatoka-0.2.0 Rakefile