Created
December 3, 2018 20:59
-
-
Save agirlnamedsophia/4b4a11acbe5a78022ecba62cb99aa85a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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