PackwerkSlimTemplate
PackwerkSlimTemplate supports Slim templates in Packwerk
Installation
Add the gem to your application's Gemfile:
gem "packwerk_slim_template"Then install it:
bundle installUsage
-
Ensure Packwerk knows it should scan Slim files. Update
config/packwerk.yml(or your equivalent Packwerk configuration) so theincludelist contains Slim alongside the existing extensions:include: - "**/*.{rb,rake,erb,slim}"
-
Run Packwerk as usual:
Development
After checking out the repo, run bin/setup to install dependencies. Then run bundle rake test to execute the test suite. You can also run bin/console for an interactive prompt that lets you experiment with the converters.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/y-yagi/packwerk_slim_template. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the PackwerkSlimTemplate project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the code of conduct.