Skip to content

Commit

Permalink
Added yard raketasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicklas committed Feb 11, 2009
1 parent 65e71ed commit 4adf432
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
doc
.yardoc
.DS_Store
spec/public
pkg
Expand Down
5 changes: 5 additions & 0 deletions core/Rakefile
@@ -1,6 +1,7 @@
require 'rubygems'
require 'rake/gempackagetask'

require 'yard'
require 'merb-core'
require 'merb-core/tasks/merb'
require 'spec/rake/spectask'
Expand Down Expand Up @@ -29,6 +30,10 @@ spec = Gem::Specification.new do |s|

end

YARD::Rake::YardocTask.new do |t|
t.files = ["README", "LICENSE", "TODO", 'lib/**/*.rb']
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
Expand Down

0 comments on commit 4adf432

Please sign in to comment.