guard-kibit allows you to automatically check Clojure code style with Kibit when files are modified.
Please make sure to have Guard installed before continue.
Add guard-kibit
to your Gemfile
:
group :development do
gem 'guard-kibit'
end
and then execute:
$ bundle install
or install it yourself as:
$ gem install guard-kibit
Add the default Guard::Kibit definition to your Guardfile
by running:
$ guard init kibit
Please read the Guard usage documentation.
You can pass some options in Guardfile
like the following example:
guard :kibit, all_on_start: false do
# ...
end
all_on_start: true # Check all files at Guard startup.
# default: true
notification: :failed # Display Growl notification after each run.
# true - Always notify
# false - Never notify
# :failed - Notify only when failed
# default: :failed
- 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
Copyright (c) 2020 Eric Musgrove
See the LICENSE.txt for details.