Sha256: a393f1c6cee44466e7bbdea6dabae1fc7edc52d93a7386158ba8d55af1aa3a5d

Contents?: true

Size: 866 Bytes

Versions: 18

Compression:

Stored size: 866 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

require 'rubygems'
require 'rake'
require 'bundler'
Bundler::GemHelper.install_tasks


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


require 'rdoc/task'
require "code-box/version"
Rake::RDocTask.new do |rdoc|
  version = CodeBox::VERSION

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

task :default => :test

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
code-box-2.0.pre1 Rakefile
code-box-1.1.3 Rakefile
code-box-1.1.2 Rakefile
code-box-1.1.1 Rakefile
code-box-1.1.0 Rakefile
code-box-1.0.1 Rakefile
code-box-1.0.0 Rakefile
code-box-0.5.1 Rakefile
code-box-0.6.0 Rakefile
code-box-0.5.0 Rakefile
code-box-0.4.1 Rakefile
code-box-0.4.0 Rakefile
code-box-0.3.1 Rakefile
code-box-0.3.0 Rakefile
code-box-0.2.0 Rakefile
code-box-0.1.0 Rakefile
code-box-0.0.2 Rakefile
code-box-0.0.1 Rakefile