This commit is contained in:
parent
a25b0a1ded
commit
8892154b28
70 changed files with 2780 additions and 596 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//SPDX-License-Identifier: LGPL-3.0-only
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
// SPDX-License-Identifier: LGPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
module;
|
||||
#include "Crafter.Build-Api.h"
|
||||
|
|
@ -10,11 +10,11 @@ namespace fs = std::filesystem;
|
|||
namespace Crafter {
|
||||
struct Configuration;
|
||||
struct CommandResult {
|
||||
int exitCode = 0;
|
||||
std::int32_t exitCode = 0;
|
||||
std::string output;
|
||||
bool crashed = false;
|
||||
bool timedOut = false;
|
||||
int signal = 0;
|
||||
std::int32_t signal = 0;
|
||||
};
|
||||
std::string BuildStdPcm(const Configuration& config, fs::path stdPcm);
|
||||
fs::path GetCacheDir();
|
||||
|
|
@ -27,4 +27,8 @@ namespace Crafter {
|
|||
// module sources, wasi-runtime/, etc). Honors CRAFTER_BUILD_HOME; otherwise
|
||||
// derives <prefix>/share/crafter-build from the running executable's path.
|
||||
export CRAFTER_API fs::path GetCrafterBuildHome();
|
||||
}
|
||||
// Wildcard name matching ('*', '?') shared by the test and lint verbs.
|
||||
bool MatchGlob(std::string_view glob, std::string_view name);
|
||||
// Empty `globs` matches everything.
|
||||
bool MatchAny(std::span<const std::string> globs, std::string_view name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue