Skip to content

Commit

Permalink
Preserve all sources and tests folders in Podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Jan 8, 2025
1 parent 0726409 commit f8a60cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SafeDI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.visionos.deployment_target = '1.0'

s.source_files = 'Sources/SafeDI/**/*.{swift}'
s.preserve_paths = 'Package.swift', 'Sources/SafeDIMacros', 'Sources/SafeDICore'
s.preserve_paths = 'Package.swift', 'Sources/', 'Tests/'

# The below scripts and flags were inspired by https://soumyamahunt.medium.com/support-swift-macros-with-cocoapods-3911f9317042
script = <<-SCRIPT.squish
Expand Down

0 comments on commit f8a60cb

Please sign in to comment.