Skip to content

[Question] Add danger-ruby-swift-lint as dependency in other gem #136

@wellavelino

Description

@wellavelino

I was just wondering if it's possible to wrap your plug-in inside another one. I'm trying to call the functions inside a common Ruby file (not sure if it's possible, I'm not too familiar with the danger structure)

It's something like this.

def lint(path)
swiftlint.config_file path
end

But I couldn't make it work looks like the DSL isn't available in that context only on Dangerfiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions