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:
parent
1b225c8a27
commit
2ebf7dc6f9
5 changed files with 15 additions and 5 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
|||
*.gem
|
||||
.bundle
|
||||
Gemfile.lock
|
||||
pkg/*
|
||||
.idea
|
||||
pkg
|
||||
.idea
|
||||
doc
|
||||
.yardoc
|
||||
|
|
0
LICENSE.txt
Normal file
0
LICENSE.txt
Normal file
0
README.md
Normal file
0
README.md
Normal file
8
Rakefile
8
Rakefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue