Sha256: c41c31110e5286db1d69eac0768f61feae6d20a466c42f525519c449d059fe8d
Contents?: true
Size: 790 Bytes
Versions: 2
Compression:
Stored size: 790 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('tupalo-mini_magick.gemspec')) Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tupalo-mini_magick-3.2.2 | Rakefile |
tupalo-mini_magick-3.2 | Rakefile |