Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 2.22 KB

README.md

File metadata and controls

51 lines (31 loc) · 2.22 KB

HamlI18nLint

Gem Version Build Status Code Climate Coverage Status Inline docs

find out not translated yet plain text from your Haml template.

Installation

Add this line to your application's Gemfile:

gem 'haml_i18n_lint'

And then execute:

$ bundle

Or install it yourself as:

$ gem install haml_i18n_lint

Usage

$ haml_i18n_lint --version
haml_i18n_lint 0.1.0
$ haml_i18n_lint --help
Usage: haml_i18n_lint [OPTION]... [FILE]...
-c, --config=FILE                configuration file
-f, --files=PATTERN              pattern to find Haml template files, default: -f '**/*.haml'

The configuration file examples are in the examples directory.

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/okinawarb/haml_i18n_lint. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.