guard-yardstick will automatically check your code for missing yardocs
Add guard-yardstick
to your Gemfile
:
group :development do
gem 'guard-yardstick'
end
And then execute:
$ bundle
Or install it yourself as:
$ gem install guard-yardstick
After correctly installing the gem initialize your Guardfile as follows.
$ bundle exec guard init yardstick
Please read the Guard usage documentation for further details.
all_on_start: Same as on any other Guard plugin. Run yardstick on all files on start or not.
path: Tells yardstick which paths to run the yardoc analysis on. Defaults to yardsticks default of 'lib' directory.
guard :yardstick, all_on_start: false, path: ['app', 'config', 'lib'] do
# ...
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request