Permalink
Browse files

Adds 'yard' Rake task

  • Loading branch information...
1 parent aff824b commit 2f8f6fbb1aeefe37c52f41af3991977d8fc1b662 @stephenmckinney stephenmckinney committed Dec 19, 2012
Showing with 5 additions and 0 deletions.
  1. +4 −0 Rakefile
  2. +1 −0 pomo.gemspec
View
4 Rakefile
@@ -1,10 +1,14 @@
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
+require 'yard'
+
task :default => :spec
desc 'Run specs'
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = false
t.rspec_opts = '--order random --color'
end
+
+YARD::Rake::YardocTask.new do |t|
end
View
1 pomo.gemspec
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
spec.add_dependency('libnotify', '~> 0.8') if Pomo::OS.linux?
spec.add_development_dependency('rspec', '~> 2.12')
+ spec.add_development_dependency('yard')
end

0 comments on commit 2f8f6fb

Please sign in to comment.