@@ -59,9 +59,10 @@ The easiest way to get started with JavaScriptKit in your browser app is with [t
59
59
bundler](https://carton.dev).
60
60
61
61
As a part of these steps
62
- you'll install `carton` via [Homebrew](https://brew.sh/) on macOS (unfortunately you'll have to build
63
- it manually on Linux). Assuming you already have Homebrew installed, you can create a new app
64
- that uses JavaScriptKit by following these steps:
62
+ you'll install `carton` via [Homebrew](https://brew.sh/) on macOS (you can also use the
63
+ [`ghcr.io/swiftwasm/carton`](https://github.com/orgs/swiftwasm/packages/container/package/carton)
64
+ Docker image if you prefer to run the build steps on Linux). Assuming you already have Homebrew
65
+ installed, you can create a new app that uses JavaScriptKit by following these steps:
65
66
66
67
1. Install `carton`:
67
68
@@ -105,12 +106,12 @@ directory for more information in this more advanced use case.
105
106
106
107
### Manual toolchain installation
107
108
108
- This library only supports [`swiftwasm/swift`](https://github.com/swiftwasm/swift) distribution
109
- toolchain. The toolchain can be installed via [`swiftenv`](https://github.com/kylef/swiftenv), in
109
+ This library only supports [`swiftwasm/swift`](https://github.com/swiftwasm/swift) toolchain distribution.
110
+ The toolchain can be installed via [`swiftenv`](https://github.com/kylef/swiftenv), in
110
111
the same way as the official Swift nightly toolchain.
111
112
112
- You have to install the toolchain manually when working on the source code JavaScriptKit itself,
113
- especially if you change anything in the JavaScript runtime parts. This is because the runtime is
113
+ You have to install the toolchain manually when working on the source code of JavaScriptKit itself,
114
+ especially if you change anything in the JavaScript runtime parts. This is because the runtime parts are
114
115
embedded in `carton` and currently can't be replaced dynamically with the JavaScript code you've
115
116
updated locally.
116
117
0 commit comments