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