feat(package,daemon): show binary variant details; list installed files
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 7s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-04 08:54:15 +03:00
1 parent b8c362917f
commit 27d909fdad
10 files changed
+145 -1

No files matched your search

+5
View File
@@ -2235,6 +2235,11 @@ void build(Void::Build::Project &project) {
Void::Testing::expect(int_field(*installed, "files") >= 1);
Void::Testing::expect(std::filesystem::exists(prefix / "bin" / "app"));
Void::Testing::expect(std::filesystem::exists(str_field(*installed, "manifest")));
const auto installed_files = string_array_field(*installed, "installed_files");
Void::Testing::require(!installed_files.empty());
Void::Testing::expect(std::filesystem::exists(installed_files.front()));
Void::Testing::expect(installed_files.size() <=
static_cast<std::size_t>(int_field(*installed, "files")));
Void::Testing::require(missing_prefix.has_value());
Void::Testing::expect(!bool_field(*missing_prefix, "ok", true));