Sha256: 6d89cfaa3f264471e8d6b3110f4fe06b295dc009993c5ea442d2781f722ba993

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "conditional_dcommit"
    gem.summary = %Q{Loops through rebase and test until tests pass and there are no new changes in the repository, then issues a git svn dcommit.}
    gem.email = "amikula@gmail.com"
    gem.homepage = "http://github.com/amikula/conditional_dcommit"
    gem.authors = ["Alf Mikula"]
    gem.files.concat(FileList['data/**/*'])
    %w[open4].each{|d| gem.add_dependency d}
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'conditional_dcommit'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end


task :default => :spec

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
amikula-conditional_dcommit-0.1.1 Rakefile
conditional_dcommit-0.1.3 Rakefile
conditional_dcommit-0.1.2 Rakefile