-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[approval-tests-cpp] New port (#18338)
* [approval-tests-cpp] New port Co-Authored-By: nicole mazzuca <[email protected]> * add version files Co-authored-by: nicole mazzuca <[email protected]>
- Loading branch information
1 parent
14c54c4
commit b5f8ec7
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
vcpkg_download_distfile(single_header | ||
URLS https://github.com/approvals/ApprovalTests.cpp/releases/download/v.10.9.1/ApprovalTests.v.10.9.1.hpp | ||
FILENAME ApprovalTests.v.10.9.1.hpp | ||
SHA512 520901982b8d217ce18f8729ca13e3d4c52ac87aa6a2f40089a49e7b85a4c3910ae3ca3a9fff1520c516dc726fad2ce70f122b8f061e606459af4e57de5fa2d6 | ||
) | ||
|
||
vcpkg_download_distfile(license_file | ||
URLS https://raw.githubusercontent.com/approvals/ApprovalTests.cpp/v.10.9.1/LICENSE | ||
FILENAME ApprovalTestsLicense.v.10.9.1 | ||
SHA512 dc6b68d13b8cf959644b935f1192b02c71aa7a5cf653bd43b4480fa89eec8d4d3f16a2278ec8c3b40ab1fdb233b3173a78fd83590d6f739e0c9e8ff56c282557 | ||
) | ||
|
||
file(INSTALL "${single_header}" DESTINATION "${CURRENT_PACKAGES_DIR}/include" RENAME ApprovalTests.hpp) | ||
file(INSTALL "${license_file}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "approval-tests-cpp", | ||
"version": "10.9.1", | ||
"description": "Approval Tests allow you to verify a chunk of output (such as a file) in one operation as opposed to writing test assertions for each element.", | ||
"homepage": "https://github.com/approvals/ApprovalTests.cpp" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "757640a4ad0e49a5fd4d77e9ce8adb9b1464cf25", | ||
"version": "10.9.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters