Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 1021 Bytes
require 'rubygems'
require 'hoe'
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'sparklines''Sparklines', Sparklines::VERSION) do |p| = "sparklines" = "Geoffrey Grosenbach"
p.description = "Tiny graphs." = ''
p.summary = "Tiny graphs."
p.url = ""
p.clean_globs = ['test/actual', 'email.txt'] # Remove this directory on "rake clean"
p.remote_rdoc_dir = '' # Release to root
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
# * extra_deps - An array of rubygem dependencies.
desc "Release and publish documentation"
task :repubdoc => [:release, :publish_docs]
desc "Simple require on packaged files to make sure they are all there"
task :verify => :package do
# An error message will be displayed if files are missing
if system %(ruby -e "require 'pkg/sparklines-#{Sparklines::VERSION}/lib/sparklines'")
puts "\nThe library files are present"
task :release => :verify