File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ if (danger.github.pullRequest.additions ?? 0) > 500 {
2121// Xcode project to avoid breaking things for our Carthage/manual framework.
2222let addedSwiftLibraryFiles = danger. git. createdFiles. contains { $0. fileType == . swift && $0. hasPrefix ( " Source " ) }
2323let deletedSwiftLibraryFiles = danger. git. deletedFiles. contains { $0. fileType == . swift && $0. hasPrefix ( " Source " ) }
24- let modifiedCarthageXcodeProject = danger. git. modifiedFiles. contains { $0. contains ( " TPPDF.xcodeproj " ) }
25- if addedSwiftLibraryFiles || deletedSwiftLibraryFiles, !modifiedCarthageXcodeProject {
24+ if addedSwiftLibraryFiles || deletedSwiftLibraryFiles {
2625 fail ( " Added or removed library files require the Carthage Xcode project to be updated. " )
2726}
2827
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ echo "Available SDKs:"
2727xcodebuild -showsdks
2828
2929echo " Available Destinations:"
30- xcodebuild -showdestinations -project TPPDF.xcodeproj - scheme TPPDF
30+ xcodebuild -showdestinations -scheme TPPDF
3131
3232echo " Available Simulators:"
3333xcrun simctl list devices
You can’t perform that action at this time.
0 commit comments