Skip to content

Commit 94c3804

Browse files
authored
build: Only regenerate Cocoa bindings when their inputs change (#5594)
Remove Carthage headers glob matching as they are not expanded, which caused the bindings to be regenerated on every build.
1 parent e67eb03 commit 94c3804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Sentry.Bindings.Cocoa/Sentry.Bindings.Cocoa.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
See getsentry/sentry-dotnet#5492. -->
1818
<PropertyGroup>
1919
<SentryCocoaFramework>$(SentryCocoaCache)Carthage\Build-$(TargetPlatformIdentifier)\SentryObjC-Dynamic.xcframework</SentryCocoaFramework>
20-
<SentryCocoaBindingInputs>../../scripts/generate-cocoa-bindings.ps1;../../.config/dotnet-tools.json;$(SentryCocoaCache)Carthage/.built-from-sha;$(SentryCocoaCache)Carthage/Headers/**/*.h</SentryCocoaBindingInputs>
20+
<SentryCocoaBindingInputs>../../scripts/generate-cocoa-bindings.ps1;../../scripts/patch-cocoa-bindings.cs;../../.config/dotnet-tools.json;$(SentryCocoaCache)Carthage/.built-from-sha</SentryCocoaBindingInputs>
2121
<!-- Resolve path to modules/sentry-cocoa/.git -->
2222
<SentryCocoaGitFile Condition="Exists('$(SentryCocoaCache).git')">$([MSBuild]::NormalizePath($(MSBuildThisFileDirectory), $(SentryCocoaCache).git))</SentryCocoaGitFile>
2323
<!-- Standalone clone: .git is a directory -->

0 commit comments

Comments
 (0)