Sha256: b1f0e7389286d4565b72c2b05667bc3a4a68d8ed172ccddce46dc2647d45c2c4

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

# encoding: utf-8

if Gem.ruby_version >= Gem::Version.new('2.1')
  require 'devtools'
  Devtools.init_rake_tasks

  tasks = %w[
    metrics:coverage
    metrics:yardstick:verify
    metrics:rubocop
    metrics:flog
    metrics:reek
    spec:integration
  ]
  tasks << 'metrics:mutant' if RUBY_ENGINE == 'ruby'
  task :default => tasks
else
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
  task :default => :spec
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
promise.rb-0.7.0 Rakefile
promise.rb-0.7.0.rc2 Rakefile
promise.rb-0.7.0.rc1 Rakefile