[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.4-89-gcbbd363

James Turnbull james at lovedthanlost.net
Tue May 18 09:04:35 UTC 2010


The following commit has been merged in the upstream branch:
commit 3ee6834a81b1a997a426fe086e1d98d03f8d8b2d
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