Sha256: 0cd98514c49406b17bee9d181b01fa42ecb1938cfac31d02341d582ddb1a5418

Contents?: true

Size: 700 Bytes

Versions: 9

Compression:

Stored size: 700 Bytes

Contents

require 'bundler/gem_tasks'
require 'rubygems'
require 'rake'

begin
  require 'bundler'
rescue LoadError => e
  warn e.message
  warn 'Run `gem install bundler` to install Bundler.'
  exit 1
end

begin
  Bundler.setup(:development)
rescue Bundler::BundlerError => e
  warn e.message
  warn 'Run `bundle install` to install missing gems.'
  exit e.status_code
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

require 'rubocop/rake_task'
RuboCop::RakeTask.new

require 'reek/rake/task'
Reek::Rake::Task.new do |t|
  t.fail_on_error = false
end

desc 'Run specs, rubocop and reek'
task ci: %w(spec reek rubocop)

task rspec_rubocop: %w(spec rubocop)

task test: :spec
task default: :spec

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
contentful-management-1.6.0 Rakefile
contentful-management-1.5.0 Rakefile
contentful-management-1.4.0 Rakefile
contentful-management-1.3.0 Rakefile
contentful-management-1.2.0 Rakefile
contentful-management-1.1.0 Rakefile
contentful-management-1.0.1 Rakefile
contentful-management-1.0.0 Rakefile
contentful-management-0.9.0 Rakefile