From 16a03c88aa7672d67b7b7d85aff31e8166b4b561 Mon Sep 17 00:00:00 2001 From: Salman Javed <89359699+salman-javed-nz@users.noreply.github.com> Date: Tue, 24 Dec 2024 05:09:17 +1300 Subject: [PATCH] [meekrosoft-fff] Add new port (#42778) Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> --- ports/meekrosoft-fff/portfile.cmake | 12 ++++++++++++ ports/meekrosoft-fff/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/m-/meekrosoft-fff.json | 9 +++++++++ 4 files changed, 32 insertions(+) create mode 100644 ports/meekrosoft-fff/portfile.cmake create mode 100644 ports/meekrosoft-fff/vcpkg.json create mode 100644 versions/m-/meekrosoft-fff.json diff --git a/ports/meekrosoft-fff/portfile.cmake b/ports/meekrosoft-fff/portfile.cmake new file mode 100644 index 0000000000..3c1589520e --- /dev/null +++ b/ports/meekrosoft-fff/portfile.cmake @@ -0,0 +1,12 @@ +set(VCPKG_BUILD_TYPE release) # Header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO meekrosoft/fff + REF "v${VERSION}" + SHA512 92890152f37e9e8b3961be2b8d2633f374ce1a16f4d78d8c6ea070a5ca35c08a75b71227465133b6ffd5bfb481246a73df4109f8b141fa83c7e22b0d31e6f903 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/fff.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/meekrosoft-fff/vcpkg.json b/ports/meekrosoft-fff/vcpkg.json new file mode 100644 index 0000000000..61de59e87a --- /dev/null +++ b/ports/meekrosoft-fff/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "meekrosoft-fff", + "version": "1.1", + "description": "A testing micro framework for creating function test doubles", + "homepage": "https://github.com/meekrosoft/fff", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index abb4143d87..bb5554520f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5892,6 +5892,10 @@ "baseline": "2019-09-25", "port-version": 6 }, + "meekrosoft-fff": { + "baseline": "1.1", + "port-version": 0 + }, "memorymodule": { "baseline": "2019-12-31", "port-version": 3 diff --git a/versions/m-/meekrosoft-fff.json b/versions/m-/meekrosoft-fff.json new file mode 100644 index 0000000000..68c299e818 --- /dev/null +++ b/versions/m-/meekrosoft-fff.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "88a408fad99dd895f057f15cca5557613274cd34", + "version": "1.1", + "port-version": 0 + } + ] +}