Sha256: c6ef61cf8fc7921b51b87c10200a30380b03d422572578c95bce3398a03b1775

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "subtrac"
    gem.summary = %Q{Simple and opinionated helper for creating and managing subversion and trac projects.}
    gem.email = "keithsalisbury@gmail.com"
    gem.homepage = "http://ktec.subtrac.com/subtrac"
    gem.authors = ["Keith Salisbury"]
    gem.add_dependency('visionmedia-commander', '<= 3.2.9')
    # 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.subtrac.com"
end

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

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end


task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ktec-subtrac-0.1.52 Rakefile
ktec-subtrac-0.1.54 Rakefile
ktec-subtrac-0.1.55 Rakefile
ktec-subtrac-0.1.56 Rakefile
ktec-subtrac-0.1.57 Rakefile
ktec-subtrac-0.1.58 Rakefile