-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable customization of arguments in Xcode package plugin #149
Merged
Merged
Changes from 9 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
02aef90
Enable customization of arguments in Xcode package plugin
dfed d0585c8
some documentation
dfed c4c9f72
Test empty csv files
dfed 0ed0596
Increase coverage
dfed c379393
Bump version
dfed f7d2105
less whitespace
dfed cd73edc
update documentation
dfed 6427eeb
typos
dfed d221af3
simpler check
dfed 1197683
clearer comment
dfed 76957ac
Merge remote-tracking branch 'origin/HEAD' into dfed--xcode-plugin-co…
dfed 192a418
Set version to 1.1.0-beta-1
dfed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Examples/ExampleMultiProjectIntegration/.safedi/configuration/include.csv
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Subproject | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,10 @@ | |
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 56; | ||
objectVersion = 60; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
3203E2232BF94B7D0094A988 /* SafeDI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3203E2222BF94B7D0094A988 /* SafeDI.swift */; }; | ||
3203E2312BF94D630094A988 /* SafeDI in Frameworks */ = {isa = PBXBuildFile; productRef = 3203E2302BF94D630094A988 /* SafeDI */; }; | ||
324F1ECF2B314E030001AC0C /* NameEntryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 324F1ECE2B314E030001AC0C /* NameEntryView.swift */; }; | ||
324F1ED22B3150480001AC0C /* NoteView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 324F1ED12B3150480001AC0C /* NoteView.swift */; }; | ||
32756FE62B24C042006BDD24 /* ExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32756FE52B24C042006BDD24 /* ExampleApp.swift */; }; | ||
|
@@ -20,7 +18,8 @@ | |
3289B40D2BF955A10053F2E4 /* StringStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 324F1ECC2B314DB20001AC0C /* StringStorage.swift */; }; | ||
3289B40E2BF955A10053F2E4 /* AnyObservableObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 324F1ED62B3156810001AC0C /* AnyObservableObject.swift */; }; | ||
3289B40F2BF955A10053F2E4 /* UserService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 324F1ECA2B314D8D0001AC0C /* UserService.swift */; }; | ||
3289B4112BF955DF0053F2E4 /* SafeDI in Frameworks */ = {isa = PBXBuildFile; productRef = 3289B4102BF955DF0053F2E4 /* SafeDI */; }; | ||
32B72E192D39763900F5EB6F /* SafeDI in Frameworks */ = {isa = PBXBuildFile; productRef = 32B72E182D39763900F5EB6F /* SafeDI */; }; | ||
32B72E1B2D39764200F5EB6F /* SafeDI in Frameworks */ = {isa = PBXBuildFile; productRef = 32B72E1A2D39764200F5EB6F /* SafeDI */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXContainerItemProxy section */ | ||
|
@@ -48,7 +47,6 @@ | |
/* End PBXCopyFilesBuildPhase section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
3203E2222BF94B7D0094A988 /* SafeDI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafeDI.swift; sourceTree = "<group>"; }; | ||
324F1ECA2B314D8D0001AC0C /* UserService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserService.swift; sourceTree = "<group>"; }; | ||
324F1ECC2B314DB20001AC0C /* StringStorage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StringStorage.swift; sourceTree = "<group>"; }; | ||
324F1ECE2B314E030001AC0C /* NameEntryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NameEntryView.swift; sourceTree = "<group>"; }; | ||
|
@@ -68,7 +66,7 @@ | |
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
3203E2312BF94D630094A988 /* SafeDI in Frameworks */, | ||
32B72E192D39763900F5EB6F /* SafeDI in Frameworks */, | ||
3289B4072BF955720053F2E4 /* Subproject.framework in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
|
@@ -77,7 +75,7 @@ | |
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
3289B4112BF955DF0053F2E4 /* SafeDI in Frameworks */, | ||
32B72E1B2D39764200F5EB6F /* SafeDI in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
|
@@ -120,7 +118,6 @@ | |
32756FE92B24C044006BDD24 /* Assets.xcassets */, | ||
32756FEB2B24C044006BDD24 /* ExampleMultiProjectIntegration.entitlements */, | ||
32756FEC2B24C044006BDD24 /* Preview Content */, | ||
3203E2222BF94B7D0094A988 /* SafeDI.swift */, | ||
); | ||
path = ExampleMultiProjectIntegration; | ||
sourceTree = "<group>"; | ||
|
@@ -169,7 +166,6 @@ | |
isa = PBXNativeTarget; | ||
buildConfigurationList = 32756FF12B24C044006BDD24 /* Build configuration list for PBXNativeTarget "ExampleMultiProjectIntegration" */; | ||
buildPhases = ( | ||
3203E2192BF7B4630094A988 /* Run SafeDITool */, | ||
32756FDE2B24C042006BDD24 /* Sources */, | ||
32756FDF2B24C042006BDD24 /* Frameworks */, | ||
32756FE02B24C042006BDD24 /* Resources */, | ||
|
@@ -178,11 +174,12 @@ | |
buildRules = ( | ||
); | ||
dependencies = ( | ||
32B72E1D2D39765B00F5EB6F /* PBXTargetDependency */, | ||
3289B4062BF955720053F2E4 /* PBXTargetDependency */, | ||
); | ||
name = ExampleMultiProjectIntegration; | ||
packageProductDependencies = ( | ||
3203E2302BF94D630094A988 /* SafeDI */, | ||
32B72E182D39763900F5EB6F /* SafeDI */, | ||
); | ||
productName = ExampleMultiProjectIntegration; | ||
productReference = 32756FE22B24C042006BDD24 /* ExampleMultiProjectIntegration.app */; | ||
|
@@ -203,7 +200,7 @@ | |
); | ||
name = Subproject; | ||
packageProductDependencies = ( | ||
3289B4102BF955DF0053F2E4 /* SafeDI */, | ||
32B72E1A2D39764200F5EB6F /* SafeDI */, | ||
); | ||
productName = Subproject; | ||
productReference = 3289B4012BF955710053F2E4 /* Subproject.framework */; | ||
|
@@ -237,7 +234,7 @@ | |
); | ||
mainGroup = 32756FD92B24C042006BDD24; | ||
packageReferences = ( | ||
3203E22C2BF94D3F0094A988 /* XCRemoteSwiftPackageReference "SafeDI" */, | ||
32B72E172D39763900F5EB6F /* XCLocalSwiftPackageReference "../../../SafeDI" */, | ||
); | ||
productRefGroup = 32756FE32B24C042006BDD24 /* Products */; | ||
projectDirPath = ""; | ||
|
@@ -268,29 +265,6 @@ | |
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXShellScriptBuildPhase section */ | ||
3203E2192BF7B4630094A988 /* Run SafeDITool */ = { | ||
isa = PBXShellScriptBuildPhase; | ||
alwaysOutOfDate = 1; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
); | ||
inputFileListPaths = ( | ||
); | ||
inputPaths = ( | ||
); | ||
name = "Run SafeDITool"; | ||
outputFileListPaths = ( | ||
); | ||
outputPaths = ( | ||
$PROJECT_DIR/ExampleMultiProjectIntegration/SafeDI.swift, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
shellPath = /bin/sh; | ||
shellScript = "xcrun swift run --package-path \"$BUILD_ROOT/../../SourcePackages/checkouts/SafeDI\" --scratch-path \"$BUILD_DIR/SafeDITool-$CONFIGURATION\" SafeDITool --include \"$PROJECT_DIR/ExampleMultiProjectIntegration\" \"$PROJECT_DIR/Subproject\" --dependency-tree-output \"$PROJECT_DIR/ExampleMultiProjectIntegration/SafeDI.swift\"\n"; | ||
}; | ||
/* End PBXShellScriptBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
32756FDE2B24C042006BDD24 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
|
@@ -299,7 +273,6 @@ | |
324F1ECF2B314E030001AC0C /* NameEntryView.swift in Sources */, | ||
324F1ED22B3150480001AC0C /* NoteView.swift in Sources */, | ||
32756FE62B24C042006BDD24 /* ExampleApp.swift in Sources */, | ||
3203E2232BF94B7D0094A988 /* SafeDI.swift in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
|
@@ -321,6 +294,10 @@ | |
target = 3289B4002BF955710053F2E4 /* Subproject */; | ||
targetProxy = 3289B4052BF955720053F2E4 /* PBXContainerItemProxy */; | ||
}; | ||
32B72E1D2D39765B00F5EB6F /* PBXTargetDependency */ = { | ||
isa = PBXTargetDependency; | ||
productRef = 32B72E1C2D39765B00F5EB6F /* SafeDIGenerator */; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we're now using the plugin instead of a build script phase |
||
}; | ||
/* End PBXTargetDependency section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
|
@@ -630,28 +607,28 @@ | |
}; | ||
/* End XCConfigurationList section */ | ||
|
||
/* Begin XCRemoteSwiftPackageReference section */ | ||
3203E22C2BF94D3F0094A988 /* XCRemoteSwiftPackageReference "SafeDI" */ = { | ||
isa = XCRemoteSwiftPackageReference; | ||
repositoryURL = "https://github.com/dfed/SafeDI"; | ||
requirement = { | ||
branch = main; | ||
kind = branch; | ||
}; | ||
/* Begin XCLocalSwiftPackageReference section */ | ||
32B72E172D39763900F5EB6F /* XCLocalSwiftPackageReference "../../../SafeDI" */ = { | ||
isa = XCLocalSwiftPackageReference; | ||
relativePath = ../../../SafeDI; | ||
}; | ||
/* End XCRemoteSwiftPackageReference section */ | ||
/* End XCLocalSwiftPackageReference section */ | ||
|
||
/* Begin XCSwiftPackageProductDependency section */ | ||
3203E2302BF94D630094A988 /* SafeDI */ = { | ||
32B72E182D39763900F5EB6F /* SafeDI */ = { | ||
isa = XCSwiftPackageProductDependency; | ||
package = 3203E22C2BF94D3F0094A988 /* XCRemoteSwiftPackageReference "SafeDI" */; | ||
productName = SafeDI; | ||
}; | ||
3289B4102BF955DF0053F2E4 /* SafeDI */ = { | ||
32B72E1A2D39764200F5EB6F /* SafeDI */ = { | ||
isa = XCSwiftPackageProductDependency; | ||
package = 3203E22C2BF94D3F0094A988 /* XCRemoteSwiftPackageReference "SafeDI" */; | ||
package = 32B72E172D39763900F5EB6F /* XCLocalSwiftPackageReference "../../../SafeDI" */; | ||
productName = SafeDI; | ||
}; | ||
32B72E1C2D39765B00F5EB6F /* SafeDIGenerator */ = { | ||
isa = XCSwiftPackageProductDependency; | ||
package = 32B72E172D39763900F5EB6F /* XCLocalSwiftPackageReference "../../../SafeDI" */; | ||
productName = "plugin:SafeDIGenerator"; | ||
}; | ||
/* End XCSwiftPackageProductDependency section */ | ||
}; | ||
rootObject = 32756FDA2B24C042006BDD24 /* Project object */; | ||
|
37 changes: 0 additions & 37 deletions
37
Examples/ExampleMultiProjectIntegration/ExampleMultiProjectIntegration/SafeDI.swift
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Examples/ExampleMultiProjectIntegration/ExampleMultiProjectIntegration
is already scanned because it's the root module. We just need to list the paths to the other module(s) in this file.