Sha256: fcc7c2b0ffd3743a1f4b12af35d9ca03b2f1481d19ad720d27f85bf7014b684d

Contents?: true

Size: 688 Bytes

Versions: 7

Compression:

Stored size: 688 Bytes

Contents

# -*- encoding: utf-8 -*-
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 test: :spec
task default: :spec

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
contentful-management-0.2.1 Rakefile
contentful-management-0.2.0 Rakefile
contentful-management-0.1.0 Rakefile
contentful-management-0.0.3 Rakefile
contentful-management-0.0.2 Rakefile
contentful-management-0.0.1 Rakefile
contentful-management-0.0.1.pre Rakefile