Sha256: fa4fbea8f882cab5e6432f4e6152835da66f04c0b723f9d8ca700a8cdc5f41d8

Contents?: true

Size: 1.5 KB

Versions: 11

Compression:

Stored size: 1.5 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://github.com/keithsalisbury/subtrac"
    gem.authors = ["Keith Salisbury"]
    gem.add_dependency('visionmedia-commander', '>= 3.2.5')
    # 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/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

11 entries across 11 versions & 1 rubygems

Version Path
keithsalisbury-subtrac-0.1.11 Rakefile
keithsalisbury-subtrac-0.1.12 Rakefile
keithsalisbury-subtrac-0.1.13 Rakefile
keithsalisbury-subtrac-0.1.14 Rakefile
keithsalisbury-subtrac-0.1.15 Rakefile
keithsalisbury-subtrac-0.1.3 Rakefile
keithsalisbury-subtrac-0.1.4 Rakefile
keithsalisbury-subtrac-0.1.5 Rakefile
keithsalisbury-subtrac-0.1.6 Rakefile
keithsalisbury-subtrac-0.1.7 Rakefile
keithsalisbury-subtrac-0.1.9 Rakefile