Refactor to accept new Library structure

This commit is contained in:
2024-03-08 22:20:13 +01:00
parent b7398db9b1
commit 7e4ee0a9a9
46 changed files with 122 additions and 132 deletions

View File

@@ -2,8 +2,8 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include "Colors.h"
#include "Utils.h"
#include "common/Colors.h"
#include "common/Utils.h"
namespace platform {
void CommandParser::messageError(const std::string& message)

View File

@@ -1,13 +1,13 @@
#include "ManageResults.h"
#include "CommandParser.h"
#include <filesystem>
#include <tuple>
#include "Colors.h"
#include "CLocale.h"
#include "Paths.h"
#include "ReportConsole.h"
#include "ReportExcel.h"
#include "ReportExcelCompared.h"
#include "common/Colors.h"
#include "common/CLocale.h"
#include "common/Paths.h"
#include "reports/ReportConsole.h"
#include "reports/ReportExcel.h"
#include "reports/ReportExcelCompared.h"
#include "CommandParser.h"
#include "ManageResults.h"
namespace platform {

View File

@@ -1,7 +1,7 @@
#ifndef MANAGE_RESULTS_H
#define MANAGE_RESULTS_H
#include <xlsxwriter.h>
#include "Results.h"
#include "xlsxwriter.h"
namespace platform {
class ManageResults {

View File

@@ -1,5 +1,5 @@
#include "Results.h"
#include <algorithm>
#include "Results.h"
namespace platform {
Results::Results(const std::string& path, const std::string& model, const std::string& score, bool complete, bool partial) :

View File

@@ -4,7 +4,7 @@
#include <vector>
#include <string>
#include <nlohmann/json.hpp>
#include "Result.h"
#include "main/Result.h"
namespace platform {
using json = nlohmann::json;
class Results {

View File

@@ -33,7 +33,7 @@ void manageArguments(argparse::ArgumentParser& program, int argc, char** argv)
int main(int argc, char** argv)
{
auto program = argparse::ArgumentParser("b_manage", { project_version.begin(), project_version.end() });
auto program = argparse::ArgumentParser("b_manage", { platform_project_version.begin(), platform_project_version.end() });
manageArguments(program, argc, argv);
int number = program.get<int>("number");
std::string model = program.get<std::string>("model");