Working config file also configures the build and git dir.

This commit is contained in:
Zed A. Shaw 2024-08-26 19:32:39 -04:00
parent 90f4f727ba
commit eb6c7b0e33
6 changed files with 29 additions and 28 deletions

View file

@ -5,13 +5,14 @@
class Builder {
GUI gui;
GameEngine game;
string git_path = "NOT SET";
string build_cmd = "NOT SET";
public:
Builder(GUI &g, GameEngine &engine) : gui(g), game(engine) {};
Builder(GUI &g, GameEngine &engine);
void run_build(GameEngine &game, const char* command);
void run(const char *git_path, const char *build_cmd);
void run_build();
void run();
};