Closed coonsama closed 2 years ago
You can use // fileImport: filepath
to import Swift files and extract variables or functions.
e.g. https://github.com/danger/swift/blob/master/Dangerfile.swift#L6
This is exactly what I was looking for, thank you!
is it possible to create multiple dangerfiles (or import scripts from another source files into dangerfile) without using plugins? I have too many tests in my dangerfile and looking for a way to split them. How can this be done without a project/workspace? Or is there any way to use project/workspace instead of single dangerfile?