Skip to content

Commit

Permalink
docs: Update how to add project via SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Jul 14, 2024
1 parent f13ad6b commit f1dc4eb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,19 @@ import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/netreconlab/Parse-Swift", .upToNextMajor(from: "5.7.0")),
.package(url: "https://github.com/netreconlab/Parse-Swift", .upToNextMajor(from: "5.10.3"))
],
targets: [
.target(
name: "YOUR_PROJECT_NAME",
dependencies: [
.product(name: "ParseSwift", package: "Parse-Swift")
]
),
.testTarget(
name: "YOUR_PROJECT_NAMETests",
dependencies: ["YOUR_PROJECT_NAME"]
)
]
)
```
Expand Down

0 comments on commit f1dc4eb

Please sign in to comment.