Working config file also configures the build and git dir.
This commit is contained in:
parent
90f4f727ba
commit
eb6c7b0e33
6 changed files with 29 additions and 28 deletions
|
@ -3,19 +3,11 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if(argc != 3) {
|
||||
fmt::println("USAGE: escape_turings_tarpit PATH BUILD_CMD");
|
||||
return 1;
|
||||
} else {
|
||||
const char *git_path = argv[1];
|
||||
const char *build_cmd = argv[2];
|
||||
GUI gui;
|
||||
GameEngine game{100};
|
||||
|
||||
GUI gui;
|
||||
GameEngine game{100};
|
||||
auto builder = Builder(gui, game);
|
||||
builder.run();
|
||||
|
||||
auto builder = Builder(gui, game);
|
||||
builder.run(git_path, build_cmd);
|
||||
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue