Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16ec18d

Browse files
authored
Mention carton Docker image and refine wording in README.md (swiftwasm#101)
1 parent 34f2f75 commit 16ec18d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ The easiest way to get started with JavaScriptKit in your browser app is with [t
5959
bundler](https://carton.dev).
6060

6161
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:
6566

6667
1. Install `carton`:
6768

@@ -105,12 +106,12 @@ directory for more information in this more advanced use case.
105106

106107
### Manual toolchain installation
107108

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
110111
the same way as the official Swift nightly toolchain.
111112

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
114115
embedded in `carton` and currently can't be replaced dynamically with the JavaScript code you've
115116
updated locally.
116117

0 commit comments

Comments
 (0)