Skip to content

Commit 3c8ffb9

Browse files
Add rules_swift 1.2.0
1 parent a01a74a commit 3c8ffb9

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module(
2+
name = "rules_swift",
3+
compatibility_level = 1,
4+
repo_name = "build_bazel_rules_swift",
5+
version = "1.2.0",
6+
)
7+
8+
bazel_dep(name = "bazel_skylib", version = "1.1.1")
9+
bazel_dep(name = "apple_support", repo_name = "build_bazel_apple_support", version = "1.3.1")
10+
bazel_dep(name = "rules_cc", version = "0.0.2")
11+
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.2") # To be removed once rules_proto is bzlmod-ready.
12+
13+
non_module_deps = use_extension("//swift:extensions.bzl", "non_module_deps")
14+
15+
use_repo(
16+
non_module_deps,
17+
"build_bazel_rules_swift_local_config",
18+
"com_github_apple_swift_protobuf",
19+
"com_github_grpc_grpc_swift",
20+
"com_github_apple_swift_nio",
21+
"com_github_apple_swift_nio_http2",
22+
"com_github_apple_swift_nio_transport_services",
23+
"com_github_apple_swift_nio_extras",
24+
"com_github_apple_swift_log",
25+
"com_github_nlohmann_json",
26+
"rules_proto",
27+
"build_bazel_rules_swift_index_import",
28+
)
29+
30+
# Dev dependencies
31+
bazel_dep(name = "stardoc", dev_dependency = True, repo_name = "io_bazel_skydoc", version = "0.5.3")
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
matrix:
2+
platform:
3+
- centos7
4+
- debian10
5+
- ubuntu2004
6+
- windows
7+
tasks:
8+
verify_targets:
9+
name: Verify build targets
10+
platform: ${{ platform }}
11+
build_targets:
12+
- "//examples/xplatform/..."
13+
verify_targets_macos:
14+
name: Verify build targets
15+
platform: macos
16+
build_targets:
17+
- "//examples/apple/..."

modules/rules_swift/1.2.0/source.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "sha256-Ue/a+F4E5RF03nbvVj8lVFHVpc0kxhrZAv7q2vxwRtk=",
3+
"strip_prefix": "rules_swift.1.2.0",
4+
"url": "https://github.com/bazelbuild/rules_swift/releases/download/1.2.0/rules_swift.1.2.0.tar.gz"
5+
}

modules/rules_swift/metadata.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"homepage": "https://github.com/bazelbuild/rules_swift",
3+
"maintainers": [
4+
{
5+
"email": "me@patrickbalestra.com",
6+
"github": "BalestraPatrick",
7+
"name": "Patrick Balestra"
8+
},
9+
{
10+
"email": "keithbsmiley@gmail.com",
11+
"github": "keith",
12+
"name": "Keith Smiley"
13+
}
14+
],
15+
"versions": [
16+
"1.2.0"
17+
],
18+
"yanked_versions": {}
19+
}

0 commit comments

Comments
 (0)