Sha256: 9b0ef62ce4f140b373df75f90157a16980387f5150e7301616bf3f8d1d102706

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

require 'rubygems'
require 'rake'
require 'bundler'
Bundler.require(:development)

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "thelinuxlich-pdfkit"
    gem.summary = %Q{HTML+CSS -> PDF}
    gem.description = %Q{Uses wkhtmltopdf to create PDFs using HTML(Windows-compatible)}
    gem.email = "thelinuxlich@gmail.com"
    gem.homepage = "http://github.com/thelinuxlich/PDFKit"
    gem.authors = ["jdpace","thelinuxlich"]
    gem.add_development_dependency "rspec"
    gem.add_development_dependency "rspec-core"
    gem.add_development_dependency 'mocha'
    gem.post_install_message = File.read('POST_INSTALL')
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thelinuxlich-pdfkit-0.4.6 Rakefile