Sha256: 22032df7000a385b373315688651f3679e93296f924f595b3c6f8df0747ee904

Contents?: true

Size: 821 Bytes

Versions: 2

Compression:

Stored size: 821 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'rubygems'
require 'bundler'
Bundler::GemHelper.install_tasks
require 'colored'
require 'rake'
require 'rdoc/task'
require 'rake/testtask'
require 'rspec/core/rake_task'

namespace :spec do
  desc "Run the unit specs"
  RSpec::Core::RakeTask.new(:units) do |t|
    t.pattern = "./spec/lib/**/*_spec.rb"
  end
end

task :test do
  puts
  puts "To run integration specs:"
  puts "  $ script/for_all_test_apps rake"
  puts
  puts "To run integration specs in a Ruby 2.0 environment:"
  puts "  $ RUBY_COMPATIBILITY=2.0 script/for_all_test_apps rake"
  puts
  puts "To run unit specs:"
  puts "  $ rake spec:units"
  puts
  puts "You may need to run this first before the integration specs will pass:"
  puts "  $ script/for_all_test_apps bundle install"
  puts
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tabulous-2.1.0 Rakefile
tabulous-2.0.0 Rakefile