Skip to content

Commit

Permalink
Update default toolchain version (#87)
Browse files Browse the repository at this point in the history
The latest 5.3 snapshot should be more stable and also supports specifying dependency on JavaScriptKit with a version range.
  • Loading branch information
MaxDesiatov authored Aug 18, 2020
1 parent b083cc0 commit c51f617
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ development workflow such as toolchain and SDK installations.
## Requirements

- macOS 10.15 and Xcode 11.4/11.5/11.6 for macOS. Xcode betas are currently not supported. You can have
those installed, but please make sure you use
[`xcode-select`](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_SELECT_THE_DEFAULT_VERSION_OF_XCODE_TO_USE_FOR_MY_COMMAND_LINE_TOOLS_)
to point it to a release version of Xcode.
those installed, but please make sure you use
[`xcode-select`](https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_SELECT_THE_DEFAULT_VERSION_OF_XCODE_TO_USE_FOR_MY_COMMAND_LINE_TOOLS_)
to point it to a release version of Xcode.
- [Swift 5.2 or later](https://swift.org/download/) for Linux users.

## Installation
Expand All @@ -45,7 +45,7 @@ directory after that.
`carton` automatically installs the required SwiftWasm toolchain and SDK when you build
your project with `carton dev`. You can however install SwiftWasm separately if needed,
either by passing an archive URL to `carton sdk install` directly, or just specifying the snapshot
version, like `carton sdk install wasm-DEVELOPMENT-SNAPSHOT-2020-06-07-a`. `carton dev` can
version, like `carton sdk install wasm-5.3-SNAPSHOT-2020-08-15-a`. `carton dev` can
also detect existing installations of `swiftenv`, so if you already have SwiftWasm installed
via `swiftenv`, you don't have to do anything on top of that to start using `carton`.

Expand All @@ -69,6 +69,7 @@ for WebAssembly and served when you start `carton dev` in the directory where `P
thanks to everyone supporting and maintaining those projects!)

### Running `carton dev` with the `release` configuration

By default `carton dev` will compile in the `debug` configuration. Add the `--release` flag to compile in the `release` configuration.

## Roadmap
Expand Down
2 changes: 1 addition & 1 deletion Sources/CartonHelpers/DefaultToolchain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.

public let defaultToolchainVersion = "wasm-DEVELOPMENT-SNAPSHOT-2020-06-12-a"
public let defaultToolchainVersion = "wasm-5.3-SNAPSHOT-2020-08-15-a"
2 changes: 1 addition & 1 deletion TestApp/.swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
wasm-DEVELOPMENT-SNAPSHOT-2020-06-12-a
wasm-5.3-SNAPSHOT-2020-08-15-a

0 comments on commit c51f617

Please sign in to comment.