Sha256: 91ef04d8f36a05f0253cd90a94004279d4eed7d3c9b8e50321f85e67b2a57c66
Contents?: true
Size: 834 Bytes
Versions: 2
Compression:
Stored size: 834 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" require "cucumber" require "cucumber/rake/task" require 'rdoc/task' Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList['test/**/*_test.rb'] end # test with code coverage (default) namespace :test do desc "Run all unit tests and generate a coverage report" task :coverage do ENV['COVERAGE'] = 'true' Rake::Task[:test].execute end end Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty -x" t.fork = false end # generate docs RDoc::Task.new do |rd| rd.main = "README.md" rd.title = 'lifx_dash' rd.rdoc_dir = 'doc' rd.options << "--all" rd.rdoc_files.include("README.md", "LICENSE.txt", "lib/**/*.rb", "bin/**/*") end task :default => ['test:coverage', :features]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lifx_dash-0.4.0 | Rakefile |
lifx_dash-0.3.1 | Rakefile |