[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:32:39 UTC 2010


The following commit has been merged in the upstream branch:
commit 0f077c78922994e74025c207436b3fb1d32c4249
Author: James Turnbull <james at lovedthanlost.net>
Date:   Mon Apr 12 22:44:35 2010 +1000

    Added YARD task
    
    You need to:
    
       gem install yard
    
    Then run:
    
    rake yard
    
    This will generate a "doc" directory containing YARD documentation.

diff --git a/tasks/rake/yard.rake b/tasks/rake/yard.rake
new file mode 100644
index 0000000..4fc3f7c
--- /dev/null
+++ b/tasks/rake/yard.rake
@@ -0,0 +1,11 @@
+begin
+  require 'yard'
+
+  YARD::Rake::YardocTask.new do |t|
+    t.files = ['lib/**/*.rb', 'spec/**/*.rb']
+  end
+
+rescue LoadError
+  # yard not installed (gem install yard)
+  #   # http://yardoc.org
+end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list