Sha256: 16b86841a2c946253023e62974270a13f6cf1be8ecdb5b25008486214c34f008

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "retrospec-plugingen"
  gem.homepage = "https://github.com/nwops/retrospec-plugingen"
  gem.license = "MIT"
  gem.summary = %Q{Generates the retrospec plugin scaffolding for retrospec plugins}
  gem.description = ''
  gem.email = "corey@logicminds.biz"
  gem.authors = ["Corey Osman"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

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

desc "Code coverage detail"
task :simplecov do
  ENV['COVERAGE'] = "true"
  Rake::Task['spec'].execute
end

task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
retrospec-plugingen-0.3.0 Rakefile
retrospec-plugingen-0.2.2 Rakefile
retrospec-plugingen-0.2.1 Rakefile
retrospec-plugingen-0.2.0 Rakefile
retrospec-plugingen-0.1.0 Rakefile