Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci-embedded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
wasm-sdk-checksum: 8ce66e881a4c88df6da9565a79b34060af930f661e7dd8d066f7f132b3eaf699
wasm_sdk_id: swift-6.3-DEVELOPMENT-SNAPSHOT-2026-02-26-a_wasm-embedded

- version: main-snapshot-2026-02-24
wasm-sdk-url: https://download.swift.org/development/wasm-sdk/swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a/swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a_wasm.artifactbundle.tar.gz
wasm-sdk-checksum: dc6e2fc24fb6cd7c7b72ef8d61dbfc3577bc1e360f33d410aebeda8974f1d02f
wasm_sdk_id: swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a_wasm-embedded
# - version: main-snapshot-2026-02-24
# wasm-sdk-url: https://download.swift.org/development/wasm-sdk/swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a/swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a_wasm.artifactbundle.tar.gz
# wasm-sdk-checksum: dc6e2fc24fb6cd7c7b72ef8d61dbfc3577bc1e360f33d410aebeda8974f1d02f
# wasm_sdk_id: swift-DEVELOPMENT-SNAPSHOT-2026-02-24-a_wasm-embedded
examples:
- Examples/Swiftle
- Examples/Basic
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ jobs:
- name: Resolve Swift dependencies
run: swift package resolve

- name: Build bundled runtime
run: ./Scripts/build-bundled-runtime.sh
- name: Build runtime
run: ./Scripts/build-runtime.sh

- name: Check for uncommitted changes
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: Bundled runtime has uncommitted changes"
echo "Please run './Scripts/build-bundled-runtime.sh' and commit the changes"
echo "Please run './Scripts/build-runtime.sh' and commit the changes"
git status
git diff
exit 1
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ Package.resolved
.netrc
.vscode
.devcontainer
.swift-version
.swift-version
.cursor
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,17 @@ final class NoOpInteractor: DOM.Interactor {
func getOffsetParent(_ node: DOM.Node) -> DOM.Node? { nil }
func getScrollOffset() -> (x: Double, y: Double) { (0, 0) }

func addEventListener(_ node: DOM.Node, event: String, sink: DOM.EventSink) {}
func removeEventListener(_ node: DOM.Node, event: String, sink: DOM.EventSink) {}
func addEventListener(_ node: DOM.Node, event: String, sink: borrowing DOM.EventSink) {}
func removeEventListener(_ node: DOM.Node, event: String, sink: borrowing DOM.EventSink) {}

func patchText(_ node: DOM.Node, with text: String) {
(node.ref as? NoOpNodeRef)?.text = text
}

func replaceChildren(_ children: [DOM.Node], in parent: DOM.Node) {}
func insertChild(_ child: DOM.Node, before sibling: DOM.Node?, in parent: DOM.Node) {}
func appendChild(_ child: DOM.Node, to parent: DOM.Node) {}
func removeChild(_ child: DOM.Node, from parent: DOM.Node) {}
func clearChildren(in parent: DOM.Node) {}

func querySelector(_ selector: String) -> DOM.Node? { nil }

Expand Down
Loading
Loading