Rakefile in swift-0.7.1 vs Rakefile in swift-0.7.2
- old
+ new
@@ -28,14 +28,10 @@
end
task :test => :check_dependencies
task :default => :test
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "swift #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
+require 'yard'
+YARD::Rake::YardocTask.new do |yard|
+ yard.files = ['lib/**/*.rb']
end
+