Sha256: 0e80f4950796168e67e6f85969690732dde77f8c0f7470b19eab43d051163303

Contents?: true

Size: 1018 Bytes

Versions: 7

Compression:

Stored size: 1018 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "<%= github_repo_name %>"
    s.summary = "TODO"
    s.email = "<%= user_email %>"
    s.homepage = "<%= github_url %>"
    s.description = "TODO"
    s.authors = ["<%= user_name %>"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = '<%= testspec %>/**/*_<%= testspec %>.rb'
  t.verbose = false
end

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

Rcov::RcovTask.new do |t|
  t.libs << '<%= testspec %>'
  t.test_files = FileList['<%= testspec %>/**/*_<%= testspec %>.rb']
  t.verbose = true
end

task :default => :rcov

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
namelessjon-jeweler-0.6.2 lib/jeweler/templates/Rakefile
namelessjon-jeweler-0.6.5 lib/jeweler/templates/Rakefile
technicalpickles-jeweler-0.6.1 lib/jeweler/templates/Rakefile
technicalpickles-jeweler-0.6.2 lib/jeweler/templates/Rakefile
technicalpickles-jeweler-0.6.3 lib/jeweler/templates/Rakefile
technicalpickles-jeweler-0.6.4 lib/jeweler/templates/Rakefile
technicalpickles-jeweler-0.6.5 lib/jeweler/templates/Rakefile