guard-yardstick
guard-yardstick will automatically check your code for missing yardocs
Installation
Add guard-yardstick
to your Gemfile
:
group :development do
gem 'guard-yardstick', require: false
end
And then execute:
$ bundle
Or install it yourself as:
$ gem install guard-yardstick
Usage
After correctly installing the gem initialize your Guardfile as follows.
$ bundle exec guard init yardstick
Please read the Guard usage documentation for further details.
Options
all_on_start: Same as on any other Guard plugin. Run yardstick on all files on start or not.
config: Tells yardstick where to find yardsticks configuration file if present.
guard :yardstick, config: './.yardstick.yml' do
# ...
end
Contributing
- 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