Skip to content

Commit

Permalink
Add rules_swift 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BalestraPatrick committed Oct 31, 2022
1 parent a01a74a commit 3c8ffb9
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
31 changes: 31 additions & 0 deletions modules/rules_swift/1.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module(
name = "rules_swift",
compatibility_level = 1,
repo_name = "build_bazel_rules_swift",
version = "1.2.0",
)

bazel_dep(name = "bazel_skylib", version = "1.1.1")
bazel_dep(name = "apple_support", repo_name = "build_bazel_apple_support", version = "1.3.1")
bazel_dep(name = "rules_cc", version = "0.0.2")
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.2") # To be removed once rules_proto is bzlmod-ready.

non_module_deps = use_extension("//swift:extensions.bzl", "non_module_deps")

use_repo(
non_module_deps,
"build_bazel_rules_swift_local_config",
"com_github_apple_swift_protobuf",
"com_github_grpc_grpc_swift",
"com_github_apple_swift_nio",
"com_github_apple_swift_nio_http2",
"com_github_apple_swift_nio_transport_services",
"com_github_apple_swift_nio_extras",
"com_github_apple_swift_log",
"com_github_nlohmann_json",
"rules_proto",
"build_bazel_rules_swift_index_import",
)

# Dev dependencies
bazel_dep(name = "stardoc", dev_dependency = True, repo_name = "io_bazel_skydoc", version = "0.5.3")
17 changes: 17 additions & 0 deletions modules/rules_swift/1.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- "//examples/xplatform/..."
verify_targets_macos:
name: Verify build targets
platform: macos
build_targets:
- "//examples/apple/..."
5 changes: 5 additions & 0 deletions modules/rules_swift/1.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-Ue/a+F4E5RF03nbvVj8lVFHVpc0kxhrZAv7q2vxwRtk=",
"strip_prefix": "rules_swift.1.2.0",
"url": "https://github.com/bazelbuild/rules_swift/releases/download/1.2.0/rules_swift.1.2.0.tar.gz"
}
19 changes: 19 additions & 0 deletions modules/rules_swift/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"homepage": "https://github.com/bazelbuild/rules_swift",
"maintainers": [
{
"email": "me@patrickbalestra.com",
"github": "BalestraPatrick",
"name": "Patrick Balestra"
},
{
"email": "keithbsmiley@gmail.com",
"github": "keith",
"name": "Keith Smiley"
}
],
"versions": [
"1.2.0"
],
"yanked_versions": {}
}

0 comments on commit 3c8ffb9

Please sign in to comment.