Sha256: 6d13f7a83da417072a208555ac1075282de8ebfe51062a7652145f711955ab85

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :test => :spec

begin
  require 'rubocop/rake_task'
  RuboCop::RakeTask.new
rescue LoadError
  task :rubocop do
    $stderr.puts 'RuboCop is disabled'
  end
end

require 'yardstick/rake/measurement'
Yardstick::Rake::Measurement.new do |measurement|
  measurement.output = 'measurement/report.txt'
end

require 'yardstick/rake/verify'
Yardstick::Rake::Verify.new do |verify|
  verify.threshold = 47
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_oauth-0.3.1 Rakefile
simple_oauth-0.3.0 Rakefile