1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00

yard rake task

This commit is contained in:
Marc Siegel 2011-12-06 14:31:22 -05:00
parent 1b225c8a27
commit 2ebf7dc6f9
5 changed files with 15 additions and 5 deletions

6
.gitignore vendored
View file

@ -1,5 +1,7 @@
*.gem
.bundle
Gemfile.lock
pkg/*
.idea
pkg
.idea
doc
.yardoc

0
LICENSE.txt Normal file
View file

0
README.md Normal file
View file

View file

@ -1 +1,9 @@
require "bundler/gem_tasks"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
OTHER_PATHS = %w(README.md LICENSE)
t.files = ['lib/**/*.rb', OTHER_PATHS]
t.options = ['--main README.md']
end

View file

@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
# specify any dependencies here; for example:
s.add_development_dependency "rspec", '~> 2.7.0'
# s.add_runtime_dependency "rest-client"
s.add_development_dependency "rspec", "~> 2.7.0"
s.add_development_dependency "yard"
s.add_development_dependency "redcarpet"
end