mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[resultlib] Add new port (#44531)
Co-authored-by: Mengna-Li <543250287@qq.com>
This commit is contained in:
13
ports/resultlib/portfile.cmake
Normal file
13
ports/resultlib/portfile.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
# header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO guillermocalvo/resultlib
|
||||
REF "${VERSION}"
|
||||
SHA512 a18522e84bb27c76993748909a9311eb479d0466ee11839b1d3d2ac7469c13534f332c17a6582e29a3de28bd34d0cc10045f2b7bb8e1894f5f345c367cd8e947
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
file(COPY "${SOURCE_PATH}/src/result.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/resultlib")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/NOTICE")
|
||||
9
ports/resultlib/vcpkg.json
Normal file
9
ports/resultlib/vcpkg.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "resultlib",
|
||||
"version-semver": "1.0.0",
|
||||
"maintainers": "Guillermo Calvo <guillermo@guillermo.dev>",
|
||||
"description": "Elegant error handling in C",
|
||||
"homepage": "https://github.com/guillermocalvo/resultlib/",
|
||||
"documentation": "https://result.guillermo.dev/",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
@@ -8100,6 +8100,10 @@
|
||||
"baseline": "0.7.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"resultlib": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"rexo": {
|
||||
"baseline": "0.2.2",
|
||||
"port-version": 0
|
||||
|
||||
9
versions/r-/resultlib.json
Normal file
9
versions/r-/resultlib.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c297b78d2128f4a9cd89e00a7425f2e012ccb2cd",
|
||||
"version-semver": "1.0.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user