Skip to content

Commit

Permalink
chore: Update package files
Browse files Browse the repository at this point in the history
Implement Reg Package
  • Loading branch information
aaronlab committed Nov 14, 2020
1 parent c6fe3fd commit 8fe3cc6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
16 changes: 16 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "Reg",
"repositoryURL": "https://github.com/yhkaplan/Reg.git",
"state": {
"branch": null,
"revision": "c8f1f51bc088708b3b3ecf04523b5bedd6914222",
"version": "0.3.0"
}
}
]
},
"version": 1
}
12 changes: 8 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,26 @@ import PackageDescription

let package = Package(
name: "SweetCardScanner",

platforms: [.iOS(.v13)],

products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "SweetCardScanner",
type: .dynamic,
targets: ["SweetCardScanner"]),
],

dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/yhkaplan/Reg.git", from: "0.3.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: "SweetCardScanner",
dependencies: []),
dependencies: ["Reg"]),
.testTarget(
name: "SweetCardScannerTests",
dependencies: ["SweetCardScanner"]),
Expand Down

0 comments on commit 8fe3cc6

Please sign in to comment.