Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class CoachCli::CI::Steps::ErbLint < CoachCli::CI::Steps::Base
def initialize(project:)
@project = project
end
def to_circleci_dsl
from_yaml(<<~YAML)
run:
name: run erb_lint
command: |
cd #{project.relative_path}
bundle exec erblint --lint-all
YAML
end
private
attr_reader :project
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment