Remove YARD since it causes problems with Lion
This commit is contained in:
parent
a0719d1414
commit
7aed9c6f4f
6
Gemfile
6
Gemfile
|
@ -12,10 +12,4 @@ group :test do
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "contest", ">= 0.1.2"
|
gem "contest", ">= 0.1.2"
|
||||||
gem "mocha"
|
gem "mocha"
|
||||||
|
|
||||||
# For documentation
|
|
||||||
platforms :ruby do
|
|
||||||
gem "yard", "~> 0.6.1"
|
|
||||||
gem "bluecloth"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
11
Rakefile
11
Rakefile
|
@ -9,14 +9,3 @@ Rake::TestTask.new do |t|
|
||||||
t.libs << "test"
|
t.libs << "test"
|
||||||
t.pattern = 'test/**/*_test.rb'
|
t.pattern = 'test/**/*_test.rb'
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
|
||||||
require 'yard'
|
|
||||||
YARD::Rake::YardocTask.new do |t|
|
|
||||||
t.options = ['--main', 'README.md', '--markup', 'markdown']
|
|
||||||
t.options += ['--title', 'Vagrant Developer Documentation']
|
|
||||||
end
|
|
||||||
rescue LoadError
|
|
||||||
puts "Yard not available. Install it with: gem install yard"
|
|
||||||
puts "if you wish to be able to generate developer documentation."
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in New Issue