forked from romanbsd/livejournal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
39 lines (34 loc) · 1.2 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require 'rdoc/task'
require 'rake/testtask'
FILES = FileList[
'Rakefile', 'README.md', 'Changes', 'LICENSE', 'setup.rb', 'VERSION',
'lib/**/*', 'sample/*', 'test/*'
]
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = 'livejournal'
gem.summary = 'Module for interacting with livejournal'
gem.description = %q{LiveJournal module. Post to livejournal, retrieve friends lists, edit entries, sync journal to an offline database.}
gem.email = '[email protected]'
gem.homepage = 'http://neugierig.org/software/livejournal/ruby/'
gem.authors = ['Evan Martin', 'Roman Shterenzon']
gem.files = FILES.to_a
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
desc 'Generate RDoc'
Rake::RDocTask.new :rdoc do |rd|
rd.title = "ljrb (LiveJournal Ruby module) Documentation"
rd.rdoc_dir = 'doc'
rd.rdoc_files.add 'lib/livejournal/*.rb', 'README.md', 'LICENSE'
rd.main = 'README.md'
end
desc 'Run Tests'
Rake::TestTask.new :test do |t|
t.test_files = FileList['test/*.rb']
end
# vim: set ts=2 sw=2 et :