Skip to content

Commit

Permalink
refactor: rename tkey_pkg to tkey-swift
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Jan 10, 2024
1 parent ceec28b commit e51b0f7
Show file tree
Hide file tree
Showing 24 changed files with 30 additions and 30 deletions.
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import PackageDescription

let package = Package(
name: "tkey_pkg",
name: "tkey-swift",
platforms: [
.iOS(SupportedPlatform.IOSVersion.v14), .macOS(.v10_15)
.iOS(SupportedPlatform.IOSVersion.v15), .macOS(.v10_15)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "ThresholdKey",
targets: ["tkey-pkg"]),
name: "tkey-swift",
targets: ["tkey-swift"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
Expand All @@ -29,13 +29,13 @@ let package = Package(
path: "Sources/libtkey"
),
.target(
name: "tkey-pkg",
name: "tkey-swift",
dependencies: ["lib"],
path: "Sources/ThresholdKey"
),
.testTarget(
name: "tkey-pkgTests",
dependencies: ["tkey-pkg"],
name: "tkey-swiftTests",
dependencies: ["tkey-swift"],
path: "Tests/tkeypkgTests"
),
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgPrivateKeyModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgSecurityQuestionModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgSeedPhraseModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareSerializationModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareTransferModuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgGenerateShareStoreResultTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgKeyDetailsTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgKeyPointArrayTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgKeyPointTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgKeyReconstructionDetailsTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgLocalMetadataTransitionsTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgMetadataTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgMetadataTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgPolynomialTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgPrivateKeyTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgPublicPolynomialTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgServiceProviderTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareStoreArrayTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareStoreMapTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareStorePolyIdIndexMapTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgShareStoreTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift
import Foundation

final class tkey_pkgStorageLayerTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift

final class tkey_pkgThresholdKeyTests: XCTestCase {
func test_basic_threshold_key_reconstruct() async {
Expand Down
2 changes: 1 addition & 1 deletion Tests/tkeypkgTests/tkey_pkgVersionTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XCTest
import Foundation
@testable import tkey_pkg
@testable import tkey_swift

final class tkey_pkgVersionTests: XCTestCase {
func test_library_version() {
Expand Down

0 comments on commit e51b0f7

Please sign in to comment.