Sha256: 82a0460a9733baf47f46225d3715ce45fd079bfeb6f931f688739812ad6d8ef3

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'

$:.push File.expand_path("../lib", __FILE__)
require "guerrilla_patch/version"

begin
  Bundler::GemHelper.install_tasks
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

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

task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = GuerrillaPatch::VERSION

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "guerrilla_patch #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
guerrilla_patch-3.0.3 Rakefile
guerrilla_patch-3.0.2 Rakefile
guerrilla_patch-2.8.7 Rakefile