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