Sha256: 019bfe51c35f3d063cc95e6e392a9c9b366977feb642880ce75bf46052fa57f3

Contents?: true

Size: 1.63 KB

Versions: 3

Compression:

Stored size: 1.63 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sitemaps"
    gem.summary = %Q{Setup a config yaml file. I will download & compress your sitemaps!}
    gem.description = %Q{
    Sitemaps provides an executable that will take a configuration yaml file.
    When runned it will download and gzip-compress your sitemaps ready for production!
    }
    gem.email = "kazu.dev@gmail.com"
    gem.homepage = "http://github.com/ktlacaelel/sitemaps"
    gem.authors = ["kazuyoshi tlacaelel"]
    gem.add_development_dependency "thoughtbot-shoulda"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
    gem.add_dependency('builder', '>=2.1.2')
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
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 :test => :check_dependencies

task :default => :test

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

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ktlacaelel-sitemaps-0.5.0 Rakefile
ktlacaelel-sitemaps-0.6.0 Rakefile
sitemaps-0.6.0 Rakefile