Sha256: f0ee219fd7577a25d71c6d3c75f69feb51056cb5b183ea3ca74dd3396ad93c96
Contents?: true
Size: 679 Bytes
Versions: 5
Compression:
Stored size: 679 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" require "rdoc/task" # generate docs RDoc::Task.new do |rd| rd.main = "README.md" rd.title = "ECB Exchange" rd.rdoc_dir = "doc" rd.options << "--all" rd.rdoc_files.include("README.md", "LICENSE", "lib/**/*.rb") end # run tests Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/*_test.rb"] end # run tests with code coverage (default) namespace :test do desc "Run all tests and features and generate a code coverage report" task :coverage do ENV['COVERAGE'] = 'true' Rake::Task['test'].execute end end task :default => ['test:coverage']
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ecb_exchange-0.2.1 | Rakefile |
ecb_exchange-0.2.0 | Rakefile |
ecb_exchange-0.1.2 | Rakefile |
ecb_exchange-0.1.1 | Rakefile |
ecb_exchange-0.1.0 | Rakefile |