Sha256: f2efc669dd0764bb055c0a622d4f119fa39895ec76b7cb1ae9631d994bb77c8a

Contents?: true

Size: 783 Bytes

Versions: 17

Compression:

Stored size: 783 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

$:.unshift(File.dirname(__FILE__) + "/lib")
require 'mini_magick'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the mini_magick plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the mini_magick plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'MiniMagick'
  rdoc.options << '--line-numbers'
  rdoc.options << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

spec = eval(File.read('mini_magick.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
  pkg.gem_spec = spec
end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
mini_magick-3.2.1 Rakefile
mini_magick-3.2 Rakefile
jf--mini_magick-3.1 Rakefile
tupalo-mini_magick-3.1 Rakefile
mini_magick-3.1 Rakefile
mini_magick-3.0 Rakefile
mini_magick-2.3 Rakefile
mini_magick-2.1 Rakefile
mini_magick-2.0.2 Rakefile
mini_magick-2.0.1 Rakefile
mini_magick-2.0.0 Rakefile
mini_magick-1.3.3 Rakefile
mini_magick-1.3.2 Rakefile
mini_magick-1.3.1 Rakefile
hcatlin-mini_magick-1.3.1 Rakefile
mini_magick-1.3.0 Rakefile
hcatlin-mini_magick-1.3.0 Rakefile