Sha256: 4087f3b51c4a530eb6ec7ce2ce31f976f37adb9625f53d694e54c92314c2a2e8

Contents?: true

Size: 1.38 KB

Versions: 14

Compression:

Stored size: 1.38 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'
require_relative 'lib/version'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
  gem.name = "puppet-repl"
  gem.version = "#{PuppetRepl::VERSION}"
  gem.homepage = "http://github.com/nwops/puppet-repl"
  gem.license = "MIT"
  gem.summary = %Q{A repl for the puppet language}
  gem.description = %Q{A interactive command line tool for evaluating the puppet language}
  gem.email = "corey@nwops.io"
  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 = "puppet-repl #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
puppet-repl-0.2.3 Rakefile
puppet-repl-0.2.2 Rakefile
puppet-repl-0.2.1 Rakefile
puppet-repl-0.2.0 Rakefile
puppet-repl-0.1.1 Rakefile
puppet-repl-0.1.0 Rakefile
puppet-repl-0.0.8 Rakefile
puppet-repl-0.0.7 Rakefile
puppet-repl-0.0.6 Rakefile
puppet-repl-0.0.5 Rakefile
puppet-repl-0.0.4 Rakefile
puppet-repl-0.0.3 Rakefile
puppet-repl-0.0.2 Rakefile
puppet-repl-0.0.1 Rakefile