Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Mar 19, 2024
1 parent 410ce02 commit 5e81dd4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ One to two paragraph statement about your product and what it does.

## Installation

Add this project on your `Package.swift`
Add this project to your `Package.swift` file.

```swift
import PackageDescription

let package = Package(
dependencies: [
.Package(url: "https://github.com/user/project.git", majorVersion: 0, minor: 0)
.package(url: "https://github.com/rafaelesantos/.git", branch: "main")
],
targets: [
.target(
name: "YourProject",
dependencies: [
.product(
name: "",
package: ""),
]),
]
)
```
Expand All @@ -23,7 +32,5 @@ let package = Package(


```swift
import Project
let proj = Class(param: String?)
proj.run()

```

0 comments on commit 5e81dd4

Please sign in to comment.