v2 nearly done
This commit is contained in:
parent
5e1fcd8590
commit
f13671b2be
24 changed files with 1467 additions and 314 deletions
|
|
@ -23,8 +23,14 @@ namespace fs = std::filesystem;
|
|||
|
||||
namespace Crafter {
|
||||
struct Configuration;
|
||||
std::string BuildStdPcm(Configuration& config);
|
||||
struct CommandResult {
|
||||
int exitCode;
|
||||
std::string output;
|
||||
};
|
||||
std::string BuildStdPcm(const Configuration& config, fs::path stdPcm);
|
||||
fs::path GetCacheDir();
|
||||
std::string RunCommand();
|
||||
std::string GetBaseCommand(Configuration& config);
|
||||
std::string RunCommand(const std::string_view command);
|
||||
CommandResult RunCommandChecked(std::string_view command);
|
||||
std::string GetBaseCommand(const Configuration& config);
|
||||
export Configuration LoadProject(const fs::path& projectFile, std::span<const std::string_view> args);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue