Sha256: 7e22fc6c54cee44f5f0e3b4511936dec4e1a5fd58261c1e4d6fb8574e85ff272

Contents?: true

Size: 595 Bytes

Versions: 7

Compression:

Stored size: 595 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

namespace :test do
  desc 'Run the Symbiont script.'
  task :script do
    system('ruby ./test/symbiont-script.rb')
  end
end

namespace :spec do
  desc 'Clean all generated reports'
  task :clean do
    system('rm -rf spec/reports')
  end

  RSpec::Core::RakeTask.new(:all => :clean) do |config|
    options  = %w(--color)
    options += %w(--format documentation)
    options += %w(--format html --out spec/reports/symbiont-test-report.html)

    config.rspec_opts = options
  end
end

task default: %w(spec:all)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
symbiont-0.11.0 Rakefile
symbiont-0.10.0 Rakefile
symbiont-0.9.0 Rakefile
symbiont-0.8.0 Rakefile
symbiont-0.7.0 Rakefile
symbiont-0.6.0 Rakefile
symbiont-0.5.0 Rakefile