forked from janfri/mini_exiftool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
25 lines (24 loc) · 1.05 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'rubygems'
require 'echoe'
Echoe.new('mini_exiftool') do |p|
p.author = 'Jan Friedrich'
p.email = '[email protected]'
p.summary = 'This library is wrapper for the Exiftool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).'
p.url = 'http://gitorious.org/mini_exiftool'
p.rdoc_files = %w(README.rdoc Tutorial.rdoc lib/*.rb)
p.install_message = %q{
+-----------------------------------------------------------------------+
| Please ensure you have installed exiftool and it's found in your PATH |
| (Try "exiftool -ver" on your commandline). For more details see |
| http://www.sno.phy.queensu.ca/~phil/exiftool/install.html |
+-----------------------------------------------------------------------+
}
p.changelog = 'Changelog'
task :prerelease do
require "#{File.dirname(__FILE__)}/lib/mini_exiftool"
unless p.version == MiniExiftool::VERSION
$stderr.puts "Version conflict: Release version is #{p.version} but MiniExiftool::VERSION is #{MiniExiftool::VERSION}."
exit(1)
end
end
end