feat(package,daemon): show binary variant details; list installed files
This commit is contained in:
1 parent
b8c362917f
commit
27d909fdad
10 files changed
+145
-1
No files matched your search
@@ -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));
|
||||
|
||||
|
||||
Reference in new issue
Block a user