Sha256: 54c1949b2aed0c0209e4fc23f59040810a3413d90f5551e67850288a769b975c

Contents?: true

Size: 891 Bytes

Versions: 13

Compression:

Stored size: 891 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'appraisal'
require 'rspec/core/rake_task'
require 'coveralls/rake/task'
Coveralls::RakeTask.new

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts 'Run `bundle install` to install missing gems'
  exit e.status_code
end
require 'rake'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ['--backtrace '] if ENV['DEBUG']
  spec.verbose = true
end

desc 'Default: run the unit tests.'
task default: [:all]

desc 'Test the plugin under all supported Rails versions.'
task :all do |_t|
  if ENV['TRAVIS']
    exec('bundle exec rake  spec && bundle exec rake coveralls:push')
  else
    exec('bundle exec rake spec')
  end
end

task :docs do
  exec('bundle exec inch --pedantic && bundle exec yard --list-undoc')
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
capistrano_sentinel-0.2.3 Rakefile
capistrano_sentinel-0.2.2 Rakefile
capistrano_sentinel-0.2.1 Rakefile
capistrano_sentinel-0.2.0 Rakefile
capistrano_sentinel-0.1.1 Rakefile
capistrano_sentinel-0.1.0 Rakefile
capistrano_sentinel-0.0.18 Rakefile
capistrano_sentinel-0.0.17 Rakefile
capistrano_sentinel-0.0.16 Rakefile
capistrano_sentinel-0.0.15 Rakefile
capistrano_sentinel-0.0.14 Rakefile
capistrano_sentinel-0.0.12 Rakefile
capistrano_sentinel-0.0.10 Rakefile