Rename package to TwigsCore for importing into other apps

This commit is contained in:
William Brawner 2021-12-23 06:24:46 -07:00
parent 664f27bd2a
commit dfc6c00d86
8 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ let package = Package(
// Products define the executables and libraries a package produces, and make them visible to other packages. // Products define the executables and libraries a package produces, and make them visible to other packages.
.library( .library(
name: "TwigsCore", name: "TwigsCore",
targets: ["Twigs"]), targets: ["TwigsCore"]),
], ],
dependencies: [ dependencies: [
// Dependencies declare other packages that this package depends on. // Dependencies declare other packages that this package depends on.
@ -23,10 +23,10 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite. // 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. // Targets can depend on other targets in this package, and on products in packages this package depends on.
.target( .target(
name: "Twigs", name: "TwigsCore",
dependencies: []), dependencies: []),
.testTarget( .testTarget(
name: "TwigsTests", name: "TwigsCoreTests",
dependencies: ["Twigs"]), dependencies: ["TwigsCore"]),
] ]
) )