File: Rakefile

package info (click to toggle)
ruby-mini-magick 4.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,588 kB
  • sloc: ruby: 1,859; sh: 7; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'bundler'
Bundler::GemHelper.install_tasks

$:.unshift 'lib'

desc 'Default: run unit tests.'
task :default => [:print_version, :spec]

task :print_version do
  puts `mogrify --version`
end

require 'rspec/core/rake_task'

desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
  t.pattern = './spec/**/*_spec.rb'
end