Cleanup the engine since I won't do the brainfuck thing, then fix up the log a bit.
This commit is contained in:
parent
8edb37ceb4
commit
fdb3f24377
6 changed files with 11 additions and 159 deletions
|
@ -66,12 +66,12 @@ void Builder::run_build() {
|
|||
string type = err[4].str();
|
||||
string message = err[5].str();
|
||||
|
||||
string result = format("{:%FT%T},{},{},{},{},{}\n",
|
||||
string result = format("{:%FT%T},{},{},{},{},{}",
|
||||
fmt::localtime(tstamp), file_name,
|
||||
lnumber, col, type, message);
|
||||
|
||||
stats_out << result;
|
||||
gui.output(format("\nHIT WITH {} @ {}:{}:{} {}", type, file_name, lnumber, col, message));
|
||||
gui.output(format("HIT WITH {} @ {}:{}:{} {}", type, file_name, lnumber, col, message));
|
||||
|
||||
game.hit(type);
|
||||
|
||||
|
@ -112,7 +112,7 @@ void Builder::run() {
|
|||
UpdateListener* listener = new UpdateListener(repo);
|
||||
dbc::check(listener != nullptr, "Failed to create listener.");
|
||||
|
||||
gui.output(format("Watching directory {} for changes...\n", git_path));
|
||||
gui.output(format("Watching directory {} for changes...", git_path));
|
||||
efsw::WatchID wid = fileWatcher->addWatch(git_path, listener, true);
|
||||
|
||||
int rc = gui.main_loop(game, [&] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue