diff --git a/modules/cppregpattern/1.0.1/MODULE.bazel b/modules/cppregpattern/1.0.1/MODULE.bazel new file mode 100644 index 00000000000..27a7e481965 --- /dev/null +++ b/modules/cppregpattern/1.0.1/MODULE.bazel @@ -0,0 +1,5 @@ +module( + name = "cppregpattern", + version = "1.0.1", +) +bazel_dep(name = "rules_license", version = "0.0.8") diff --git a/modules/cppregpattern/1.0.1/patches/add_build_file.patch b/modules/cppregpattern/1.0.1/patches/add_build_file.patch new file mode 100644 index 00000000000..f7542185f0e --- /dev/null +++ b/modules/cppregpattern/1.0.1/patches/add_build_file.patch @@ -0,0 +1,29 @@ +diff --git BUILD.bazel BUILD.bazel +new file mode 100644 +index 00000000..d99b09e7 +--- /dev/null ++++ BUILD.bazel +@@ -0,0 +1,22 @@ ++load("@rules_license//rules:license.bzl", "license") ++ ++package( ++ default_applicable_licenses = [":license"], ++ default_visibility = ["//visibility:public"], ++) ++ ++exports_files(["LICENSE"]) ++ ++license( ++ name = "license", ++ package_name = "cppregpattern", ++ license_kinds = [ ++ "@rules_license//licenses/spdx:MIT", ++ ], ++) ++ ++cc_library( ++ name = "registry", ++ hdrs = ["include/cppregpattern/registry.h"], ++ strip_include_prefix = "include/", ++) +\ No newline at end of file diff --git a/modules/cppregpattern/1.0.1/patches/module_dot_bazel.patch b/modules/cppregpattern/1.0.1/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..797760b929a --- /dev/null +++ b/modules/cppregpattern/1.0.1/patches/module_dot_bazel.patch @@ -0,0 +1,8 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,5 @@ ++module( ++ name = "cppregpattern", ++ version = "1.0.1", ++) ++bazel_dep(name = "rules_license", version = "0.0.8") diff --git a/modules/cppregpattern/1.0.1/presubmit.yml b/modules/cppregpattern/1.0.1/presubmit.yml new file mode 100644 index 00000000000..c333fe327bd --- /dev/null +++ b/modules/cppregpattern/1.0.1/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + - windows + bazel: + - 7.x + - 6.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@cppregpattern//:registry' diff --git a/modules/cppregpattern/1.0.1/source.json b/modules/cppregpattern/1.0.1/source.json new file mode 100644 index 00000000000..fb060a5f943 --- /dev/null +++ b/modules/cppregpattern/1.0.1/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/psalvaggio/cppregpattern/archive/17342e50c8248c750e8d35ca93d9f072e388ab58.tar.gz", + "integrity": "sha256-n/WIg6GYEkBrynLuBZg3C/V86ty3Vlf+YU/waFZr/6g=", + "strip_prefix": "cppregpattern-17342e50c8248c750e8d35ca93d9f072e388ab58", + "patch_strip": 0, + "patches": { + "module_dot_bazel.patch": "sha256-zmSrN0nyy0/42l47nd5U4xG0w6PHXxYTVDEPjSAMntM=", + "add_build_file.patch": "sha256-0TC1453qisEqtN4KhEnsUO3wSwT8E7vLp9afBfcxEXI=" + } +} diff --git a/modules/cppregpattern/metadata.json b/modules/cppregpattern/metadata.json new file mode 100644 index 00000000000..d10ce595a2f --- /dev/null +++ b/modules/cppregpattern/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/psalvaggio/cppregpattern", + "maintainers": [ + { + "email": "udayaprakash2899@gmail.com", + "github": "udaya2899", + "name": "Udaya Prakash Nageswaran" + } + ], + "repository": [ + "github:psalvaggio/cppregpattern" + ], + "versions": [ + "1.0.1" + ], + "yanked_versions": {} +}