Rakefile in clickatell-0.1.0 vs Rakefile in clickatell-0.2.0
- old
+ new
@@ -125,9 +125,19 @@
puts "Please update your version.rb to match the release version, currently #{VERS}"
exit
end
end
+Rake::RDocTask.new('docs') do |rd|
+ rd.main = 'README.txt'
+ rd.rdoc_files.include('README.txt', 'License.txt', 'lib/**/*.rb')
+ rd.rdoc_dir = 'doc'
+ rd.options << '--style=http://clickatell.rubyforge.org/stylesheets/rdoc.css'
+ rd.options << '--tab-width=2'
+ rd.options << '--inline-source'
+ rd.options << '--line-numbers'
+end
+
namespace :spec do
desc "Run the specs under spec"
Spec::Rake::SpecTask.new('all') do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/*_spec.rb']