|
|
|
@ -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, [&] { |
|
|
|
|