Skip to content

Commit 6d5706c

Browse files
authored
Merge pull request #8 from CuriositySoftware/yimajo-patch-1
Update Instration in README.md
2 parents 221a6ff + e2ec21c commit 6d5706c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,18 @@ https://github.com/CuriositySoftware/swift-fatal-test-value
5959
If you are using Package.swift add:
6060

6161
```swift
62-
.package(url: "https://github.com/CuriositySoftware/swift-fatal-test-value/", from: "1.0.0")
62+
.package(
63+
url: "https://github.com/CuriositySoftware/swift-fatal-test-value/",
64+
.upToNextMajor(from: "1.0.0")
65+
)
6366
```
6467

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

6770
```swift
68-
.product(name: "FatalTestValue", package: "swift-fatal-test-value"),
71+
.product(
72+
name: "FatalTestValue",
73+
package: "swift-fatal-test-value"
74+
)
6975
```
7076

0 commit comments

Comments
 (0)