Sha256: 50d869dbf7066ada7d4c40f8d935f1514b328c020c05100ea435b4fbdfcff039
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true class SlimLint < Aid::Script def self.description 'Runs slim-lint against our templates' end def self.help <<~HELP Usage: $ aid slim-lint This will run slim-lint against our templates under app/. HELP end def run step 'Linting slim templates...' do system! 'slim-lint app/**/*.slim' end puts puts colorize(:green, 'Passed!') end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
aid-0.2.2 | examples/slim_lint.rb |
abtion-aid-0.3.2 | examples/slim_lint.rb |
abtion-aid-0.3.1 | examples/slim_lint.rb |
abtion-aid-0.2.0 | examples/slim_lint.rb |