Permalink
Browse files

added yard

  • Loading branch information...
1 parent e18c0cb commit 906eb812bde247a96a4601da7eaee9139a38986c @rubiii rubiii committed Sep 23, 2010
Showing with 12 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +11 −0 Rakefile
View
@@ -1,5 +1,6 @@
.DS_Store
.yardoc
+doc
coverage
tmp
*~
View
@@ -1,6 +1,17 @@
require "rake"
begin
+ require "yard"
+
+ YARD::Rake::YardocTask.new do |t|
+ t.files = ["README.rdoc", "lib/**/*.rb"]
+ end
+rescue LoadError
+ desc message = %{"gem install yard" to generate documentation}
+ task("yard") { abort message }
+end
+
+begin
require "metric_fu"
MetricFu::Configuration.run do |c|

0 comments on commit 906eb81

Please sign in to comment.