Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[promise-cpp] Add new port #20340

Merged
merged 10 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions ports/promise-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO xhawk18/promise-cpp
REF 1.0.3
SHA512 B0EF04C2B63BDD7E3061ED6E80C17FFE20042E285123D6B4A86AA517AB3D920050FD7B0563145531B001289D2165B6AF1B65C5BBF368001DEF1CF59AFCB9C330
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/promise-cpp RENAME copyright)
16 changes: 16 additions & 0 deletions ports/promise-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "promise-cpp",
"version-string": "1.0.3",
"description": "C++ promise/A+ library in Javascript style.",
"homepage": "https://github.com/xhawk18/promise-cpp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5236,6 +5236,10 @@
"baseline": "0.13.0",
"port-version": 0
},
"promise-cpp": {
"baseline": "1.0.3",
"port-version": 0
},
"protobuf": {
"baseline": "3.18.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/p-/promise-cpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "ef3fb5249eed37360ceb9b3b366037ad2ed2c865",
"version-string": "1.0.3",
"port-version": 0
}
]
}