Skip to content

Commit

Permalink
Merge pull request #1 from CaptureContext/0.3.0-beta
Browse files Browse the repository at this point in the history
feat: Add macros from `swift-interception-macros` package
  • Loading branch information
maximkrouk authored Feb 28, 2024
2 parents 4905da4 + 74e46c8 commit 8e6231d
Show file tree
Hide file tree
Showing 27 changed files with 1,328 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionUtils"
BuildableName = "_SwiftInterceptionUtils"
BlueprintName = "_SwiftInterceptionUtils"
BlueprintIdentifier = "InterceptionMacros"
BuildableName = "InterceptionMacros"
BlueprintName = "InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -49,9 +49,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionUtils"
BuildableName = "_SwiftInterceptionUtils"
BlueprintName = "_SwiftInterceptionUtils"
BlueprintIdentifier = "InterceptionMacros"
BuildableName = "InterceptionMacros"
BlueprintName = "InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectorsMacrosTests"
BuildableName = "_SwiftInterceptionCustomSelectorsMacrosTests"
BlueprintName = "_SwiftInterceptionCustomSelectorsMacrosTests"
BlueprintIdentifier = "InterceptionMacrosPluginTests"
BuildableName = "InterceptionMacrosPluginTests"
BlueprintName = "InterceptionMacrosPluginTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectorsMacrosTests"
BuildableName = "_SwiftInterceptionCustomSelectorsMacrosTests"
BlueprintName = "_SwiftInterceptionCustomSelectorsMacrosTests"
BlueprintIdentifier = "InterceptionMacrosTests"
BuildableName = "InterceptionMacrosTests"
BlueprintName = "InterceptionMacrosTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectors"
BuildableName = "_SwiftInterceptionCustomSelectors"
BlueprintName = "_SwiftInterceptionCustomSelectors"
BlueprintIdentifier = "_InterceptionCustomSelectors"
BuildableName = "_InterceptionCustomSelectors"
BlueprintName = "_InterceptionCustomSelectors"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -49,9 +49,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectors"
BuildableName = "_SwiftInterceptionCustomSelectors"
BlueprintName = "_SwiftInterceptionCustomSelectors"
BlueprintIdentifier = "_InterceptionCustomSelectors"
BuildableName = "_InterceptionCustomSelectors"
BlueprintName = "_InterceptionCustomSelectors"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionUtils"
BuildableName = "_SwiftInterceptionUtils"
BlueprintName = "_SwiftInterceptionUtils"
BlueprintIdentifier = "_InterceptionMacros"
BuildableName = "_InterceptionMacros"
BlueprintName = "_InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -49,9 +49,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionUtils"
BuildableName = "_SwiftInterceptionUtils"
BlueprintName = "_SwiftInterceptionUtils"
BlueprintIdentifier = "_InterceptionMacros"
BuildableName = "_InterceptionMacros"
BlueprintName = "_InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectors"
BuildableName = "_SwiftInterceptionCustomSelectors"
BlueprintName = "_SwiftInterceptionCustomSelectors"
BlueprintIdentifier = "_InterceptionUtils"
BuildableName = "_InterceptionUtils"
BlueprintName = "_InterceptionUtils"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
Expand Down Expand Up @@ -49,9 +49,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_SwiftInterceptionCustomSelectors"
BuildableName = "_SwiftInterceptionCustomSelectors"
BlueprintName = "_SwiftInterceptionCustomSelectors"
BlueprintIdentifier = "_InterceptionUtils"
BuildableName = "_InterceptionUtils"
BlueprintName = "_InterceptionUtils"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Interception"
BuildableName = "Interception"
BlueprintName = "Interception"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionMacros"
BuildableName = "InterceptionMacros"
BlueprintName = "InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_InterceptionCustomSelectors"
BuildableName = "_InterceptionCustomSelectors"
BlueprintName = "_InterceptionCustomSelectors"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_InterceptionMacros"
BuildableName = "_InterceptionMacros"
BlueprintName = "_InterceptionMacros"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "_InterceptionUtils"
BuildableName = "_InterceptionUtils"
BlueprintName = "_InterceptionUtils"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionMacrosPluginTests"
BuildableName = "InterceptionMacrosPluginTests"
BlueprintName = "InterceptionMacrosPluginTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionMacrosTests"
BuildableName = "InterceptionMacrosTests"
BlueprintName = "InterceptionMacrosTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionTests"
BuildableName = "InterceptionTests"
BlueprintName = "InterceptionTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionMacrosPluginTests"
BuildableName = "InterceptionMacrosPluginTests"
BlueprintName = "InterceptionMacrosPluginTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionMacrosTests"
BuildableName = "InterceptionMacrosTests"
BlueprintName = "InterceptionMacrosTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InterceptionTests"
BuildableName = "InterceptionTests"
BlueprintName = "InterceptionTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Interception"
BuildableName = "Interception"
BlueprintName = "Interception"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- release
steps:
- uses: actions/checkout@v4
- name: Select Xcode 15.1
run: sudo xcode-select -s /Applications/Xcode_15.1.app
- name: Run tests
run: make CONFIG=debug test-library
- name: Select Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app
- name: Run test
run: make test
Loading

0 comments on commit 8e6231d

Please sign in to comment.