lib/wukong-deploy/tasks.rb in wukong-deploy-0.1.1 vs lib/wukong-deploy/tasks.rb in wukong-deploy-0.2.0
- old
+ new
@@ -1,8 +1,13 @@
require 'rake'
+require 'wukong/rake_helper'
+
require 'yard'
-YARD::Rake::YardocTask.new(:doc)
+YARD::Rake::YardocTask.new(:doc) do |t|
+ t.files = %w[app/**/*.rb Rakefile Gemfile]
+ t.options = ['--load', Wukong.doc_helpers_path]
+end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)