Skip to content

Commit

Permalink
[cli] update to v.2.0.0 (#19744)
Browse files Browse the repository at this point in the history
* [cli] Update the version to 1.1.1

* [cli] Update the version to 1.2.1

* [cli] Update the version to 1.2.1: fix PR requests

* [aricpp] create a new port (#17162)

* [cli] run the command: ./vcpkg x-add-version --all

* [aricpp] change request for #18048

* Update ports/aricpp/portfile.cmake

* [aricpp] change request for #18048

* Update ports/aricpp/vcpkg.json

* Update ports/aricpp/vcpkg.json

* Update versions/a-/aricpp.json

* Update versions/a-/aricpp.json

* [aricpp] port-version -> 0

* [cli] v. 2.0

* [cli] Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* Update ports/cli/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* [cli] bump port version

* Update versions/c-/cli.json

Co-authored-by: JonLiu1993 <[email protected]>

Co-authored-by: Daniele Pallastrelli <[email protected]>
Co-authored-by: Jack·Boos·Yu <[email protected]>
Co-authored-by: nicole mazzuca <[email protected]>
Co-authored-by: JonLiu1993 <[email protected]>
  • Loading branch information
5 people authored Aug 30, 2021
1 parent 116ce79 commit f732367
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 15 deletions.
5 changes: 0 additions & 5 deletions ports/cli/CONTROL

This file was deleted.

19 changes: 10 additions & 9 deletions ports/cli/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO daniele77/cli
REF v1.2.1
SHA512 fc834608ac2ca6c3f330711c80897cc581eb1ed8da7a0d56a07efe6650d871f5317c777a6a029fdc0177684f08479bd129cc0ce748354bac3dbe6af79a390d14
REF v2.0.0
SHA512 8a3e42d02f8bf757628fb876ccfa376771bbe66e7820d7fd5b34119fca262129f5122e67d939e0898b5964a162a8fd4538d5e6ffa96c4935a8c3979e5d5dbd9d
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cli)
vcpkg_cmake_install()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cli)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
17 changes: 17 additions & 0 deletions ports/cli/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "cli",
"version-semver": "2.0.0",
"description": "A library for interactive command line interfaces in modern C++",
"homepage": "https://github.com/daniele77/cli",
"dependencies": [
"boost-asio",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@
"port-version": 0
},
"cli": {
"baseline": "1.2.1",
"baseline": "2.0.0",
"port-version": 0
},
"cli11": {
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cli.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "52c57cc23f038ec2f73805b37f42639541036956",
"version-semver": "2.0.0",
"port-version": 0
},
{
"git-tree": "ae335f0cbfecdfb4f7d5448bf3e1fec0ae9aecb9",
"version-string": "1.2.1",
Expand Down

0 comments on commit f732367

Please sign in to comment.