From 0136cab20e44216d684e129d44534c34b8fb7846 Mon Sep 17 00:00:00 2001 From: c8ef Date: Mon, 4 Nov 2024 18:31:58 +0800 Subject: [PATCH] ada-url@2.9.2 (#3091) --- modules/ada-url/2.9.2/MODULE.bazel | 6 ++++++ modules/ada-url/2.9.2/overlay/BUILD.bazel | 12 ++++++++++++ modules/ada-url/2.9.2/overlay/MODULE.bazel | 1 + modules/ada-url/2.9.2/presubmit.yml | 19 +++++++++++++++++++ modules/ada-url/2.9.2/source.json | 8 ++++++++ modules/ada-url/metadata.json | 16 ++++++++++++++++ 6 files changed, 62 insertions(+) create mode 100644 modules/ada-url/2.9.2/MODULE.bazel create mode 100644 modules/ada-url/2.9.2/overlay/BUILD.bazel create mode 120000 modules/ada-url/2.9.2/overlay/MODULE.bazel create mode 100644 modules/ada-url/2.9.2/presubmit.yml create mode 100644 modules/ada-url/2.9.2/source.json create mode 100644 modules/ada-url/metadata.json diff --git a/modules/ada-url/2.9.2/MODULE.bazel b/modules/ada-url/2.9.2/MODULE.bazel new file mode 100644 index 00000000000..cee9928d2b2 --- /dev/null +++ b/modules/ada-url/2.9.2/MODULE.bazel @@ -0,0 +1,6 @@ +module( + name = "ada-url", + version = "2.9.2", + compatibility_level = 1, + bazel_compatibility = [">=7.2.1"], +) diff --git a/modules/ada-url/2.9.2/overlay/BUILD.bazel b/modules/ada-url/2.9.2/overlay/BUILD.bazel new file mode 100644 index 00000000000..b2009f6dad4 --- /dev/null +++ b/modules/ada-url/2.9.2/overlay/BUILD.bazel @@ -0,0 +1,12 @@ +cc_library( + name = "ada", + srcs = ["ada.cpp"], + hdrs = [ + "ada.h", + "ada_c.h", + ], + includes = ["."], + visibility = [ + "//visibility:public", + ], +) diff --git a/modules/ada-url/2.9.2/overlay/MODULE.bazel b/modules/ada-url/2.9.2/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/ada-url/2.9.2/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/ada-url/2.9.2/presubmit.yml b/modules/ada-url/2.9.2/presubmit.yml new file mode 100644 index 00000000000..9b94289a6c6 --- /dev/null +++ b/modules/ada-url/2.9.2/presubmit.yml @@ -0,0 +1,19 @@ +matrix: + bazel: ["7.x"] + unix_platform: ["macos", "macos_arm64", "ubuntu2204", "debian11"] + +tasks: + unix_test: + platform: ${{ unix_platform }} + bazel: ${{ bazel }} + build_flags: + - --cxxopt=-std=c++20 + build_targets: + - '@ada-url//:ada' + windows_test: + platform: "windows" + bazel: ${{ bazel }} + build_flags: + - --cxxopt=/std:c++20 + build_targets: + - '@ada-url//:ada' diff --git a/modules/ada-url/2.9.2/source.json b/modules/ada-url/2.9.2/source.json new file mode 100644 index 00000000000..4825ede4e05 --- /dev/null +++ b/modules/ada-url/2.9.2/source.json @@ -0,0 +1,8 @@ +{ + "integrity": "sha256-sszmMFkLSQ156k9EYLp379X7KcWoek6Mt+vEhZvEtWQ=", + "url": "https://github.com/ada-url/ada/releases/download/v2.9.2/singleheader.zip", + "overlay": { + "BUILD.bazel": "sha256-BVAwANtZ3z6bI+0h5If6U04xpph/f0a7Xxlcdvz70Hs=", + "MODULE.bazel": "sha256-H4gSqyhDNtV3FEQE5WlRjY/FdwpAtjbn4wdy7ImHHLs=" + } +} diff --git a/modules/ada-url/metadata.json b/modules/ada-url/metadata.json new file mode 100644 index 00000000000..4d99e91ed8b --- /dev/null +++ b/modules/ada-url/metadata.json @@ -0,0 +1,16 @@ +{ + "homepage": "https://www.ada-url.com/", + "maintainers": [ + { + "email": "c8ef@outlook.com", + "name": "c8ef" + } + ], + "repository": [ + "github:ada-url/ada" + ], + "versions": [ + "2.9.2" + ], + "yanked_versions": {} +}