Sha256: e7cce3b1d8186a439d4e368c3b8a5d35364ebbcd57f48074896061fd524e784e

Contents?: true

Size: 750 Bytes

Versions: 10

Compression:

Stored size: 750 Bytes

Contents

#!/usr/bin/env rake
using_git = File.exist?(File.expand_path('../.git/', __FILE__))
if using_git
  require 'bundler/setup'
end
require 'rake'
require 'simplecov'

Dir['./gem_tasks/*.rake'].each do |task|
  import(task)
end

require 'rspec/core/rake_task'
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.verbose = false

  t.pattern = "spec/**/_spec.rb"
  # we require spec_helper so we don't get an RSpec warning about
  # examples being defined before configuration.
  t.ruby_opts = "-I./spec -r./spec/capture_warnings -rspec_helper"
  t.rspec_opts = %w[--format progress] if (ENV['FULL_BUILD'] || !using_git)
end

require File.expand_path File.join(File.dirname(__FILE__),'lib/metric_fu')

task :default => :spec

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
metric_fu-4.13.0 Rakefile
fastruby-metric_fu-5.0.0 Rakefile
code_metric_fu-4.14.4 Rakefile
code_metric_fu-4.14.3 Rakefile
code_metric_fu-4.14.2 Rakefile
code_metric_fu-4.14.1 Rakefile
code_metric_fu-4.14.0 Rakefile
metric_fu-4.12.0 Rakefile
metric_fu-4.11.4 Rakefile
metric_fu-4.11.3 Rakefile