No release in over 3 years
Slim support for packwerk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 3.0
~> 3.0
~> 5.0
 Project Readme

PackwerkSlimTemplate

PackwerkSlimTemplate supports Slim templates in Packwerk

Installation

Add the gem to your application's Gemfile:

gem "packwerk_slim_template"

Then install it:

bundle install

Usage

  1. Ensure Packwerk knows it should scan Slim files. Update config/packwerk.yml (or your equivalent Packwerk configuration) so the include list contains Slim alongside the existing extensions:

    include:
      - "**/*.{rb,rake,erb,slim}"
  2. 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.