Sha256: 0a659ab835ed55b09fc35c6b774cdececb8c29cc7c0571225682975020b68144

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

MANIFEST = FileList["bin/*", "Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*", "samples/*","test/**/*"]

file "Manifest.txt" => :manifest
task :manifest do
  File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
end
Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files

$LOAD_PATH << 'lib'
require 'image_voodoo/version'
begin
  require 'hoe'
  Hoe.spec("image_voodoo") do |p|
    p.version = ImageVoodoo::VERSION
    p.rubyforge_name = "jruby-extras"
    p.url = "http://jruby-extras.rubyforge.org/image_voodoo"
    p.author = "Thomas Enebo, Charles Nutter and JRuby contributors"
    p.email = "enebo@acm.org, headius@headius.com"
    p.summary = "Image manipulation in JRuby with ImageScience compatible API"
    p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
    p.description = "Install this gem and require 'image_voodoo' to load the library."
  end
rescue LoadError
  puts "You need Hoe installed to be able to package this gem"
rescue => e
  p e.backtrace
  puts "ignoring error while loading hoe: #{e.to_s}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
image_voodoo-0.8.0 Rakefile