Skip to content

Commit a38a164

Browse files
wep21Wyverald
andauthored
Add pugixml-1.14.0 (#1197)
* Add pugixml-1.14.0 Signed-off-by: wep21 <[email protected]> * fix patch * update sha Signed-off-by: wep21 <[email protected]> --------- Signed-off-by: wep21 <[email protected]> Co-authored-by: Xùdōng Yáng <[email protected]>
1 parent a3596b8 commit a38a164

File tree

6 files changed

+66
-0
lines changed

6 files changed

+66
-0
lines changed

modules/pugixml/1.14/MODULE.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module(
2+
name = "pugixml",
3+
version = "1.14",
4+
compatibility_level = 1,
5+
)
6+
bazel_dep(name = "rules_cc", version = "0.0.9")
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--- /dev/null
2+
+++ BUILD.bazel
3+
@@ -0,0 +1,14 @@
4+
+""" Builds pugixml.
5+
+"""
6+
+
7+
+load("@rules_cc//cc:defs.bzl", "cc_library")
8+
+
9+
+cc_library(
10+
+ name = "pugixml",
11+
+ srcs = ["pugixml.cpp"],
12+
+ hdrs = [
13+
+ "pugiconfig.hpp",
14+
+ "pugixml.hpp",
15+
+ ],
16+
+ visibility = ["//visibility:public"],
17+
+)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
--- MODULE.bazel
2+
+++ MODULE.bazel
3+
@@ -0,0 +1,6 @@
4+
+module(
5+
+ name = "pugixml",
6+
+ version = "1.14",
7+
+ compatibility_level = 1,
8+
+)
9+
+bazel_dep(name = "rules_cc", version = "0.0.9")

modules/pugixml/1.14/presubmit.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- ubuntu2004
5+
- macos
6+
- macos_arm64
7+
- windows
8+
tasks:
9+
verify_targets:
10+
name: Verify build targets
11+
platform: ${{ platform }}
12+
build_targets:
13+
- '@pugixml'

modules/pugixml/1.14/source.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"url": "https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz",
3+
"integrity": "sha256-LxDidocMZLHbaAkFCnXhGol6jXRWxL5cay41oRFooBU=",
4+
"strip_prefix": "pugixml-1.14/src",
5+
"patches": {
6+
"add_build_file.patch": "sha256-/Ycrm7Rz1mjkgoqaltXPHIRMcteFCzQCCfyaaD5OnOE=",
7+
"module_dot_bazel.patch": "sha256-pKjUdowpWYFl9jLVxHnXO2lMF5aEUYnXBhUvvO9Fyak="
8+
},
9+
"patch_strip": 0
10+
}

modules/pugixml/metadata.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"homepage": "https://github.com/zeux/pugixml.git",
3+
"maintainers": [],
4+
"repository": [
5+
"github:zeux/pugixml"
6+
],
7+
"versions": [
8+
"1.14"
9+
],
10+
"yanked_versions": {}
11+
}

0 commit comments

Comments
 (0)