From a8fbaf4d5907d8e12d682cdefc27d777dd6462d2 Mon Sep 17 00:00:00 2001 From: Liam Nichols Date: Tue, 28 May 2024 12:02:10 +0200 Subject: [PATCH] Rename Version module to XCStringsToolConstants --- Package.swift | 6 +++--- .../SourceFile_StringExtension_StringsTableStruct.swift | 2 +- Sources/{Version => XCStringsToolConstants}/Version.swift | 0 Sources/xcstrings-tool/XCStringsTool.swift | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename Sources/{Version => XCStringsToolConstants}/Version.swift (100%) diff --git a/Package.swift b/Package.swift index bc01b99..f7f36a4 100644 --- a/Package.swift +++ b/Package.swift @@ -39,7 +39,7 @@ let package = Package( .target(name: "StringGenerator"), .target(name: "StringResource"), .target(name: "StringValidator"), - .target(name: "Version") + .target(name: "XCStringsToolConstants") ] ), @@ -59,7 +59,7 @@ let package = Package( .product(name: "SwiftBasicFormat", package: "swift-syntax"), .product(name: "SwiftSyntax", package: "swift-syntax"), .product(name: "SwiftSyntaxBuilder", package: "swift-syntax"), - .target(name: "Version") + .target(name: "XCStringsToolConstants") ] ), @@ -76,7 +76,7 @@ let package = Package( ), .target( - name: "Version" + name: "XCStringsToolConstants" ), .target( diff --git a/Sources/StringGenerator/Models/SourceFile_StringExtension_StringsTableStruct.swift b/Sources/StringGenerator/Models/SourceFile_StringExtension_StringsTableStruct.swift index bb6c644..d6bad63 100644 --- a/Sources/StringGenerator/Models/SourceFile_StringExtension_StringsTableStruct.swift +++ b/Sources/StringGenerator/Models/SourceFile_StringExtension_StringsTableStruct.swift @@ -1,6 +1,6 @@ import StringResource import SwiftSyntax -import Version +import XCStringsToolConstants extension SourceFile.StringExtension { struct StringsTableStruct { diff --git a/Sources/Version/Version.swift b/Sources/XCStringsToolConstants/Version.swift similarity index 100% rename from Sources/Version/Version.swift rename to Sources/XCStringsToolConstants/Version.swift diff --git a/Sources/xcstrings-tool/XCStringsTool.swift b/Sources/xcstrings-tool/XCStringsTool.swift index 66d648a..2299f89 100644 --- a/Sources/xcstrings-tool/XCStringsTool.swift +++ b/Sources/xcstrings-tool/XCStringsTool.swift @@ -1,5 +1,5 @@ import ArgumentParser -import Version +import XCStringsToolConstants @main struct XCStringsTool: ParsableCommand {