Permalink
Browse files

Set up YARD

  • Loading branch information...
1 parent e23fe4f commit 1606b7e050f4df8f232cf0c69d0be729cfecfb08 @rf- committed Nov 18, 2012
Showing with 10 additions and 0 deletions.
  1. +1 −0 .yardopts
  2. +6 −0 Rakefile
  3. +3 −0 keynote.gemspec
View
@@ -0,0 +1 @@
+--markup markdown --private
View
@@ -1,11 +1,17 @@
#!/usr/bin/env rake
+
require "bundler/gem_tasks"
require "rake/testtask"
require "appraisal"
+require "yard"
Rake::TestTask.new do |t|
t.libs.concat %w(keynote spec)
t.pattern = "spec/*_spec.rb"
end
+YARD::Rake::YardocTask.new do |t|
+ t.files = ['lib/**/*.rb']
+end
+
task :default => [:test]
View
@@ -16,8 +16,11 @@ Gem::Specification.new do |gem|
gem.version = Keynote::VERSION
gem.add_dependency 'rails', '>= 3.0.0'
+
gem.add_development_dependency 'appraisal'
gem.add_development_dependency 'minitest'
gem.add_development_dependency 'mocha'
gem.add_development_dependency 'pry'
+ gem.add_development_dependency 'redcarpet'
+ gem.add_development_dependency 'yard'
end

0 comments on commit 1606b7e

Please sign in to comment.