-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rakefile
30 lines (26 loc) · 813 Bytes
/
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
26
27
28
29
30
require "rubygems"
require "rake"
require "echoe"
load File.expand_path(File.dirname(__FILE__) + '/tasks/fixtures.rake')
require "rake/rdoctask"
Rake::RDocTask.new do |rdoc|
if File.exists? 'VERSION'
version = File.read 'VERSION'
else
version = ''
end
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "kinopoisk #{version}"
rdoc.rdoc_files.include 'README*'
rdoc.rdoc_files.include 'lib/**/*.rb'
end
Echoe.new('kinopoisk', File.read('VERSION').strip) do |p|
p.author = 'Pavel Musolin'
p.email = 'pavel@harizma.lv'
p.description = 'Easely access the publicly available information on Kinopoisk.ru'
p.files = FileList["{lib,spec}/**/*.rb"].to_a
p.url = 'http://github.com/pmisters/Kinopoisk'
p.has_rdoc = true
p.platform = Gem::Platform::RUBY
p.dependencies = ['hpricot >=0.8.1']
end