diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/swift-version-compare.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/swift-version-compare.xcscheme new file mode 100644 index 0000000..431fa66 --- /dev/null +++ b/.swiftpm/xcode/xcshareddata/xcschemes/swift-version-compare.xcscheme @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Package.swift b/Package.swift index 08f0886..2a8c143 100644 --- a/Package.swift +++ b/Package.swift @@ -20,7 +20,13 @@ let package = Package( ), ], targets: [ - .target(name: "VersionCompare"), + .target( + name: "VersionCompare", + path: "Sources", + resources: [ + .copy("Resources/PrivacyInfo.xcprivacy") + ] + ), .testTarget( name: "VersionCompareTests", dependencies: [ diff --git a/Sources/VersionCompare/Helper/Character+Extensions.swift b/Sources/Helper/Character+Extensions.swift similarity index 100% rename from Sources/VersionCompare/Helper/Character+Extensions.swift rename to Sources/Helper/Character+Extensions.swift diff --git a/Sources/VersionCompare/Helper/String+Regex.swift b/Sources/Helper/String+Regex.swift similarity index 100% rename from Sources/VersionCompare/Helper/String+Regex.swift rename to Sources/Helper/String+Regex.swift diff --git a/Sources/VersionCompare/Helper/VersionCompareResult.swift b/Sources/Helper/VersionCompareResult.swift similarity index 100% rename from Sources/VersionCompare/Helper/VersionCompareResult.swift rename to Sources/Helper/VersionCompareResult.swift diff --git a/Sources/VersionCompare/Helper/VersionValidationError.swift b/Sources/Helper/VersionValidationError.swift similarity index 100% rename from Sources/VersionCompare/Helper/VersionValidationError.swift rename to Sources/Helper/VersionValidationError.swift diff --git a/Sources/Resources/PrivacyInfo.xcprivacy b/Sources/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..6af1641 --- /dev/null +++ b/Sources/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + diff --git a/Sources/VersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData+ExpressibleByLiteral.swift b/Sources/SemanticVersionComparable/BuildMetaData/BuildMetaData+ExpressibleByLiteral.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData+ExpressibleByLiteral.swift rename to Sources/SemanticVersionComparable/BuildMetaData/BuildMetaData+ExpressibleByLiteral.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift b/Sources/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift rename to Sources/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+Equatable.swift b/Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+Equatable.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+Equatable.swift rename to Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+Equatable.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+ExpressibleByLiteral.swift b/Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+ExpressibleByLiteral.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+ExpressibleByLiteral.swift rename to Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier+ExpressibleByLiteral.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift b/Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift rename to Sources/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift b/Sources/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift rename to Sources/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Equatable.swift b/Sources/SemanticVersionComparable/SemanticVersionComparable+Equatable.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Equatable.swift rename to Sources/SemanticVersionComparable/SemanticVersionComparable+Equatable.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift b/Sources/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift rename to Sources/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift diff --git a/Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable.swift b/Sources/SemanticVersionComparable/SemanticVersionComparable.swift similarity index 100% rename from Sources/VersionCompare/SemanticVersionComparable/SemanticVersionComparable.swift rename to Sources/SemanticVersionComparable/SemanticVersionComparable.swift diff --git a/Sources/VersionCompare/Version+Bundle.swift b/Sources/Version+Bundle.swift similarity index 100% rename from Sources/VersionCompare/Version+Bundle.swift rename to Sources/Version+Bundle.swift diff --git a/Sources/VersionCompare/Version+OS.swift b/Sources/Version+OS.swift similarity index 100% rename from Sources/VersionCompare/Version+OS.swift rename to Sources/Version+OS.swift diff --git a/Sources/VersionCompare/Version+StringInitializer.swift b/Sources/Version+StringInitializer.swift similarity index 100% rename from Sources/VersionCompare/Version+StringInitializer.swift rename to Sources/Version+StringInitializer.swift diff --git a/Sources/VersionCompare/Version.swift b/Sources/Version.swift similarity index 100% rename from Sources/VersionCompare/Version.swift rename to Sources/Version.swift