Sha256: a0480f8ecb8fbfb007712783196e1a73ae2410b8b3466e405e234858f4d48be8

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

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://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "pedit"
  gem.homepage = "http://github.com/andrerigon/pedit"
  gem.license = "MIT"
  gem.summary = "Help to add configurations to a pom.xml without open the file and edit by hand"
  gem.email = "andre.rigon@gmail.com"
  gem.homepage = "http://github.com/andrerigon/pedit"
  gem.authors = ["Andre Ribeiro Goncalves"]
  gem.add_dependency "nokogiri"
  gem.post_install_message = "Thank you for installing pedit. Please go to http://github.com/andrerigon/pedit for more information."
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :test

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pedit-0.1.1 Rakefile
pedit-0.1.0 Rakefile