Sha256: 6c5de9e67a6173c1fe1437c5f044edad006ec792e04dc34827df44cd8f7f29ee

Contents?: true

Size: 613 Bytes

Versions: 7

Compression:

Stored size: 613 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'

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

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.require_exact_threshold = false
  verify.threshold = 58
end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
http-0.7.4 Rakefile
http-0.6.4 Rakefile
http-0.7.3 Rakefile
http-0.7.2 Rakefile
http-0.7.1 Rakefile
http-0.6.3 Rakefile
http-0.6.2 Rakefile