Skip to content

Conversation

@MaxDesiatov
Copy link
Member

@MaxDesiatov MaxDesiatov commented Oct 8, 2025

Added new SwiftPM CLI commands for adding dependencies.

List of supported platforms was updated to include the broader support matrix. While some of these newly mentioned Linux distributions aren't directly tested by WasmKit CI, they are tested indirectly on ci.swift.org, as all Swift toolchain Linux jobs build WasmKit as a dependency.

Assorted wording refinements and helpful links for beginners are also included.

Also added new SwiftPM CLI commands for adding dependencies.
Comment on lines 31 to 40
swift package add-dependency https://github.com/swiftwasm/WasmKit --up-to-next-minor-from 0.1.6
swift package add-target-dependency WasmKit <your-package-target-name> --package WasmKit
```

You can also add the following snippet manually to your `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/swiftwasm/WasmKit.git", from: "0.1.0"),
// ...other dependencies
.package(url: "https://github.com/swiftwasm/WasmKit.git", .upToNextMinor(from: "0.1.6")),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a release workflow document or an automation to bump up those version strings (in README.md and Sources/CLI/CLI.swift) since I am very sure I'll forget updating them 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm adding automation for that in #220.

Copy link
Contributor

@heckj heckj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super minor wording suggestion

Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaxDesiatov MaxDesiatov merged commit 595c4f5 into main Oct 29, 2025
20 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/update-readme branch October 29, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants