diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000000000000000000000000000000000000..9a90b51e7941501fb6288d4b1638a478e9fbba20 --- /dev/null +++ b/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Cbsspeke", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "Cbsspeke", + targets: ["Cbsspeke"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "Cbsspeke", + dependencies: []), + .testTarget( + name: "CbsspekeTests", + dependencies: ["Cbsspeke"]), + ] +) diff --git a/Sources/BSSpeke/bsspeke.c b/Sources/Cbsspeke/bsspeke.c similarity index 100% rename from Sources/BSSpeke/bsspeke.c rename to Sources/Cbsspeke/bsspeke.c diff --git a/Sources/BSSpeke/include/bsspeke.h b/Sources/Cbsspeke/include/bsspeke.h similarity index 100% rename from Sources/BSSpeke/include/bsspeke.h rename to Sources/Cbsspeke/include/bsspeke.h diff --git a/Sources/BSSpeke/minimonocypher.c b/Sources/Cbsspeke/minimonocypher.c similarity index 100% rename from Sources/BSSpeke/minimonocypher.c rename to Sources/Cbsspeke/minimonocypher.c diff --git a/Sources/BSSpeke/minimonocypher.h b/Sources/Cbsspeke/minimonocypher.h similarity index 100% rename from Sources/BSSpeke/minimonocypher.h rename to Sources/Cbsspeke/minimonocypher.h diff --git a/Tests/CbsspekeTests/CbsspekeTests.swift b/Tests/CbsspekeTests/CbsspekeTests.swift new file mode 100644 index 0000000000000000000000000000000000000000..031714cdcfced17ec4f16497382b514a63b80c23 --- /dev/null +++ b/Tests/CbsspekeTests/CbsspekeTests.swift @@ -0,0 +1,11 @@ +import XCTest +@testable import BSSpeke + +final class CbsspekeTests: XCTestCase { + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct + // results. + XCTAssertEqual(Cbsspeke().text, "Hello, World!") + } +}