Skip to content

Commit e9bf50c

Browse files
committed
docs: Add wasi 0.1 build status badge to README.md.
1 parent cbffe10 commit e9bf50c

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/wasm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- uses: swiftwasm/setup-swiftwasm@v2
2222
with:
2323
target: "wasm32-unknown-wasip1-threads"
24-
- run: swift build --swift-sdk wasm32-unknown-wasip1-threads
24+
- run: swift build --swift-sdk wasm32-unknown-wasip1-threads

Package.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ let package = Package(
1313
dependencies: [
1414
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.0"),
1515
.package(url: "https://github.com/adam-fowler/async-collections", from: "0.0.1"),
16-
16+
1717
// TODO: SM: Revert before merging. Temporarily using PL nio to test fix for NIOCore.
1818
// .package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
19-
.package(url: "https://github.com/PassiveLogic/swift-nio.git", branch: "fix/fix-niocore-build-for-wasip1")
19+
.package(
20+
url: "https://github.com/PassiveLogic/swift-nio.git",
21+
branch: "fix/fix-niocore-build-for-wasip1"
22+
),
2023
],
2124
targets: [
2225
.target(

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FGraphQLSwift%2FDataLoader%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/GraphQLSwift/DataLoader)
55
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FGraphQLSwift%2FDataLoader%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/GraphQLSwift/DataLoader)
66

7+
TODO: SM: Change Revert to the following once done testing:
8+
<!-- [![WASI 0.1](https://github.com/GraphQLSwift/DataLoader/actions/workflows/wasm.yml/badge.svg?branch=main)](https://github.com/GraphQLSwift/DataLoader/actions/workflows/wasm.yml) -->
9+
[![WASI 0.1](https://github.com/PassiveLogic/DataLoader/actions/workflows/wasm.yml/badge.svg?branch=scott)](https://github.com/PassiveLogic/DataLoader/actions/workflows/wasm.yml)
10+
711
DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching.
812

913
This is a Swift version of the Facebook [DataLoader](https://github.com/facebook/dataloader).

0 commit comments

Comments
 (0)