diff --git a/modules/pathkit/1.0.1/MODULE.bazel b/modules/pathkit/1.0.1/MODULE.bazel new file mode 100644 index 00000000000..27b5f2f7243 --- /dev/null +++ b/modules/pathkit/1.0.1/MODULE.bazel @@ -0,0 +1,7 @@ +module( + name = "pathkit", + version = "1.0.1", + compatibility_level = 1, +) + +bazel_dep(name = "rules_swift", version = "2.3.0") \ No newline at end of file diff --git a/modules/pathkit/1.0.1/patches/add_build_file.patch b/modules/pathkit/1.0.1/patches/add_build_file.patch new file mode 100644 index 00000000000..1df14415958 --- /dev/null +++ b/modules/pathkit/1.0.1/patches/add_build_file.patch @@ -0,0 +1,10 @@ +--- /dev/null ++++ BUILD.bazel +@@ -0,0 +1,7 @@ ++load("@rules_swift//swift:swift.bzl", "swift_library") ++ ++swift_library( ++ name = "PathKit", ++ srcs = glob(["Sources/**/*.swift"]), ++ visibility = ["//visibility:public"], ++) diff --git a/modules/pathkit/1.0.1/patches/module_dot_bazel.patch b/modules/pathkit/1.0.1/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..1bd5f5bdb88 --- /dev/null +++ b/modules/pathkit/1.0.1/patches/module_dot_bazel.patch @@ -0,0 +1,10 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,7 @@ ++module( ++ name = "pathkit", ++ version = "1.0.1", ++ compatibility_level = 1, ++) ++ ++bazel_dep(name = "rules_swift", version = "2.3.0") diff --git a/modules/pathkit/1.0.1/presubmit.yml b/modules/pathkit/1.0.1/presubmit.yml new file mode 100644 index 00000000000..b955b873650 --- /dev/null +++ b/modules/pathkit/1.0.1/presubmit.yml @@ -0,0 +1,9 @@ +tasks: + verify_targets: + name: Verify build targets + platform: macos + bazel: 8.x + build_targets: + - '@pathkit//:PathKit' + build_flags: + - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1" diff --git a/modules/pathkit/1.0.1/source.json b/modules/pathkit/1.0.1/source.json new file mode 100644 index 00000000000..e05ef51a2b7 --- /dev/null +++ b/modules/pathkit/1.0.1/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/kylef/PathKit/archive/refs/tags/1.0.1.tar.gz", + "integrity": "sha256-/Np4zfEsHGQwxnJzMz4GCpGVlRJUIw5STfd4QaAjXa4=", + "strip_prefix": "PathKit-1.0.1", + "patches": { + "module_dot_bazel.patch": "sha256-oDgV6bWDYkfAAahWF5CE+rfcIRisGuxSHNs1e5ngowQ=", + "add_build_file.patch": "sha256-Ot/O2CJnuNtyu4DSlfdN49UiNZFpArOp8yTAhEJK4Eo=" + }, + "patch_strip": 0 +} diff --git a/modules/pathkit/metadata.json b/modules/pathkit/metadata.json new file mode 100644 index 00000000000..c6f168d699b --- /dev/null +++ b/modules/pathkit/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/kylef/PathKit", + "maintainers": [ + { + "email": "ian@leitch.io", + "github": "ileitch", + "name": "Ian Leitch" + } + ], + "repository": [ + "github:kylef/PathKit" + ], + "versions": [ + "1.0.1" + ], + "yanked_versions": {} +}