Skip to content

Commit

Permalink
Merge pull request #8 from CuriositySoftware/yimajo-patch-1
Browse files Browse the repository at this point in the history
Update Instration in README.md
  • Loading branch information
yimajo committed Nov 6, 2023
2 parents 221a6ff + e2ec21c commit 6d5706c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,18 @@ https://github.com/CuriositySoftware/swift-fatal-test-value
If you are using Package.swift add:

```swift
.package(url: "https://github.com/CuriositySoftware/swift-fatal-test-value/", from: "1.0.0")
.package(
url: "https://github.com/CuriositySoftware/swift-fatal-test-value/",
.upToNextMajor(from: "1.0.0")
)
```

and then add the product to any target that needs access to the macro:

```swift
.product(name: "FatalTestValue", package: "swift-fatal-test-value"),
.product(
name: "FatalTestValue",
package: "swift-fatal-test-value"
)
```

0 comments on commit 6d5706c

Please sign in to comment.