Sha256: 495b0a577caec26bd866ca3876c1d6dbdf4d2bea727d32402fe80c5bfb39340c

Contents?: true

Size: 622 Bytes

Versions: 11

Compression:

Stored size: 622 Bytes

Contents

require 'rake'
require 'raven'
require 'rubygems/package_task'
require 'bundler/gem_tasks'

gemspec = Gem::Specification.load(Dir['*.gemspec'].first)

Gem::PackageTask.new(gemspec).define

begin
  require 'rubygems'
  require 'rspec/core/rake_task'

  require 'rubocop/rake_task'
  RuboCop::RakeTask.new(:rubocop) do |task|
    task.patterns = ['lib/**/*.rb','spec/**/*.rb',]
  end

  RSpec::Core::RakeTask.new(:spec) do |spec|
    spec.pattern = 'spec/**/*_spec.rb'
  end

rescue LoadError
  task :spec do
    abort "Rspec is not available. bundle install to run unit tests"
  end
end

task :default => [:rubocop, :spec]

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
sentry-raven-2.7.3 Rakefile
jones-gem-2.7.2 Rakefile
alec-gem-2.7.2 Rakefile
sentry-raven-2.7.2 Rakefile
sentry-raven-2.7.1 Rakefile
sentry-raven-2.6.3 Rakefile
sentry-raven-2.6.2 Rakefile
sentry-raven-2.6.1 Rakefile
sentry-raven-2.6.0 Rakefile
sentry-raven-2.5.3 Rakefile
sentry-raven-2.5.2 Rakefile