forked from koshtech/calendar_helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
39 lines (31 loc) · 1.19 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 'rubygems'
require 'rake'
require 'rake/rdoctask'
require 'hoe'
require './lib/calendar_helper.rb'
Hoe.spec 'calendar_helper' do
developer('Geoffrey Grosenbach', '[email protected]')
extra_deps << ['open4']
# self.rubyforge_name = 'osxscreenshotx' # if different than 'osxscreenshot'
end
# Hoe.new('calendar_helper', CalendarHelper::VERSION) do |p|
# p.rubyforge_name = 'seattlerb'
# p.summary = 'Generates a configurable, CSS-tagged HTML calendar.'
# p.description = "A simple method to create an HTML calendar for a single month. Can be styled with CSS. Usable with Ruby on Rails."
# p.url = "http://rubyforge.org/projects/seattlerb"
# p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
# p.clean_globs = ['test/output']
# end
# desc "Test task (actually runs specs)"
# task "test" do
# system "spec --format specdoc --color spec/*_spec.rb"
# end
# -- Rails-specific --
desc 'Generate documentation for the calendar_helper plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'CalendarHelper'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.txt')
rdoc.rdoc_files.include('lib/**/*.rb')
end