Skip to content

Commit 1c2d096

Browse files
authored
Mention the install-toolchain.sh script in README.md
1 parent 4b7981b commit 1c2d096

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@ Swift framework to interact with JavaScript through WebAssembly.
66

77
## Requirements
88

9-
This library only supports [`swiftwasm/swift`](https://github.com/swiftwasm/swift) distribution toolchain. Please install Swift for WebAssembly toolchain from [Release Page](https://github.com/swiftwasm/swift/releases)
10-
11-
The toolchains can be installed via [`swiftenv`](https://github.com/kylef/swiftenv) like official nightly toolchain.
12-
13-
e.g.
9+
This library only supports [`swiftwasm/swift`](https://github.com/swiftwasm/swift) distribution toolchain. The toolchains can be installed via [`swiftenv`](https://github.com/kylef/swiftenv) like official nightly toolchain. You can use the `install-toolchain.sh` helper script that does this for you:
1410

1511
```sh
16-
17-
$ swiftenv install https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.3-SNAPSHOT-2020-08-10-a/swift-wasm-5.3-SNAPSHOT-2020-08-10-a-osx.tar.gz
12+
$ ./scripts/install-toolchain.sh
1813
$ swift --version
1914
Swift version 5.3-dev (LLVM 09686f232a, Swift 5a196c7f13)
2015
Target: x86_64-apple-darwin19.6.0

0 commit comments

Comments
 (0)