Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename tkey_pkg to tkey-swift #49

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
with:
xcode-version: "14.2.0"
- name: package
run: xcodebuild test -scheme tkey_pkg -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO
run: xcodebuild test -scheme tkey-swift -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO
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
Loading