Sha256: 6acfd282fef574ee85c76895b883bc221f42966012d677ca40994a5ca962aef7

Contents?: true

Size: 1.49 KB

Versions: 26

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.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.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

26 entries across 26 versions & 1 rubygems

Version Path
ktec-subtrac-0.1.15 Rakefile
ktec-subtrac-0.1.16 Rakefile
ktec-subtrac-0.1.17 Rakefile
ktec-subtrac-0.1.18 Rakefile
ktec-subtrac-0.1.21 Rakefile
ktec-subtrac-0.1.22 Rakefile
ktec-subtrac-0.1.23 Rakefile
ktec-subtrac-0.1.24 Rakefile
ktec-subtrac-0.1.25 Rakefile
ktec-subtrac-0.1.26 Rakefile
ktec-subtrac-0.1.27 Rakefile
ktec-subtrac-0.1.28 Rakefile
ktec-subtrac-0.1.33 Rakefile
ktec-subtrac-0.1.34 Rakefile
ktec-subtrac-0.1.36 Rakefile
ktec-subtrac-0.1.38 Rakefile
ktec-subtrac-0.1.39 Rakefile
ktec-subtrac-0.1.41 Rakefile
ktec-subtrac-0.1.43 Rakefile
ktec-subtrac-0.1.44 Rakefile