Skip to content

Commit 04cdcc7

Browse files
committed
fix: Remove legacy script reference from Dangerfile and create-xcframework script
1 parent 1425d7f commit 04cdcc7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dangerfile.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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.
2222
let addedSwiftLibraryFiles = danger.git.createdFiles.contains { $0.fileType == .swift && $0.hasPrefix("Source") }
2323
let 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

scripts/create-xcframework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ echo "Available SDKs:"
2727
xcodebuild -showsdks
2828

2929
echo "Available Destinations:"
30-
xcodebuild -showdestinations -project TPPDF.xcodeproj -scheme TPPDF
30+
xcodebuild -showdestinations -scheme TPPDF
3131

3232
echo "Available Simulators:"
3333
xcrun simctl list devices

0 commit comments

Comments
 (0)