Add package

Persistance
Mathieu GROUSSEAU 2 months ago
parent 38aa08ba5a
commit 70d4fcd33e

@ -9,6 +9,7 @@
/* Begin PBXBuildFile section */
282549B82D3278F9008D2C3B /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 282549B72D3278F9008D2C3B /* main.swift */; };
282549C02D327907008D2C3B /* Model in Frameworks */ = {isa = PBXBuildFile; productRef = 282549BF2D327907008D2C3B /* Model */; };
EC6173932D57473D00B099CD /* Persistance in Frameworks */ = {isa = PBXBuildFile; productRef = EC6173922D57473D00B099CD /* Persistance */; };
EC9914352D40233000C0459C /* CustomTypes in Frameworks */ = {isa = PBXBuildFile; productRef = EC9914342D40233000C0459C /* CustomTypes */; };
/* End PBXBuildFile section */
@ -34,6 +35,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
EC6173932D57473D00B099CD /* Persistance in Frameworks */,
282549C02D327907008D2C3B /* Model in Frameworks */,
EC9914352D40233000C0459C /* CustomTypes in Frameworks */,
);
@ -93,6 +95,7 @@
packageProductDependencies = (
282549BF2D327907008D2C3B /* Model */,
EC9914342D40233000C0459C /* CustomTypes */,
EC6173922D57473D00B099CD /* Persistance */,
);
productName = CLI;
productReference = 282549B42D3278F9008D2C3B /* CLI */;
@ -124,6 +127,7 @@
mainGroup = 282549AB2D3278F9008D2C3B;
packageReferences = (
EC9914332D40233000C0459C /* XCLocalSwiftPackageReference "../CustomTypes" */,
EC6173912D57473D00B099CD /* XCLocalSwiftPackageReference "../Persistance" */,
);
productRefGroup = 282549B52D3278F9008D2C3B /* Products */;
projectDirPath = "";
@ -307,6 +311,10 @@
/* End XCConfigurationList section */
/* Begin XCLocalSwiftPackageReference section */
EC6173912D57473D00B099CD /* XCLocalSwiftPackageReference "../Persistance" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../Persistance;
};
EC9914332D40233000C0459C /* XCLocalSwiftPackageReference "../CustomTypes" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../CustomTypes;
@ -318,6 +326,10 @@
isa = XCSwiftPackageProductDependency;
productName = Model;
};
EC6173922D57473D00B099CD /* Persistance */ = {
isa = XCSwiftPackageProductDependency;
productName = Persistance;
};
EC9914342D40233000C0459C /* CustomTypes */ = {
isa = XCSwiftPackageProductDependency;
productName = CustomTypes;

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Persistance">
</FileRef>
<FileRef
location = "group:CustomTypes">
</FileRef>

@ -0,0 +1,8 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc

@ -0,0 +1,23 @@
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Persistance",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Persistance",
targets: ["Persistance"]),
],
dependencies: [
.package(path: "../Model")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "Persistance"),
]
)
Loading…
Cancel
Save