Skip to content

Commit 54d6e6a

Browse files
committed
feat: spm support
1 parent 748c419 commit 54d6e6a

File tree

64 files changed

+36
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+36
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

OSBarcodeLib.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@
177177
75E2B2042AF414DD00DB689E /* Permissions */,
178178
75E2B1C32AF3A97400DB689E /* Scanner */,
179179
);
180-
path = OSBarcodeLib;
180+
name = OSBarcodeLib;
181+
path = Sources/OSBarcodeLib;
181182
sourceTree = "<group>";
182183
};
183184
7507FC1E27FC2AAE003809F6 /* OSBarcodeLibTests */ = {
@@ -188,7 +189,8 @@
188189
75C20B6A2AF4FE0700CCB5B1 /* OSBARCManagerFactoryTests.swift */,
189190
75E2B2052AF4153900DB689E /* OSBARCManagerTests.swift */,
190191
);
191-
path = OSBarcodeLibTests;
192+
name = OSBarcodeLibTests;
193+
path = Tests/OSBarcodeLibTests;
192194
sourceTree = "<group>";
193195
};
194196
7513C4822B03E86B005E81C4 /* MappableProtocol */ = {

Package.swift

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// swift-tools-version:5.7
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "OSBarcodeLib",
6+
platforms: [
7+
.iOS(.v14)
8+
],
9+
products: [
10+
.library(
11+
name: "OSBarcodeLib",
12+
targets: ["OSBarcodeLib"]
13+
),
14+
],
15+
targets: [
16+
.target(
17+
name: "OSBarcodeLib",
18+
path: "Sources/OSBarcodeLib"
19+
),
20+
.testTarget(
21+
name: "OSBarcodeLibTests",
22+
dependencies: ["OSBarcodeLib"],
23+
path: "Tests/OSBarcodeLibTests"
24+
),
25+
]
26+
)

OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift renamed to Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift

File renamed without changes.
File renamed without changes.

OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift renamed to Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift renamed to Sources/OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift

File renamed without changes.

0 commit comments

Comments
 (0)