]> Kevux Git Server - fll/commitdiff
Update: The fake program should show the fakefile or setting being used when building.
authorKevin Day <thekevinday@gmail.com>
Fri, 8 Apr 2022 01:18:52 +0000 (20:18 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 8 Apr 2022 01:18:52 +0000 (20:18 -0500)
This helps make what is going more clear when viewing the console.
Multiple executions of different build settings (or fakefiles) should be easily determinable such as when running tests.

level_3/fake/c/private-build.c
level_3/fake/c/private-make-operate.c

index c3f5fa1c5595beb50a3782580a43bd2c33c6338f..04002d56a5f9f3a144c47372bbd4c23087772ce2 100644 (file)
@@ -837,7 +837,9 @@ extern "C" {
 
         fl_print_format("%r%[Building%] ", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important);
         fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, data_build.setting.build_name, data->main->context.set.notable);
-        fl_print_format("%[.%]%r", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
+        fl_print_format("%[ using '%]", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important);
+        fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, data->settings, data->main->context.set.notable);
+        fl_print_format("%['.%]%r", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
 
         funlockfile(data->main->output.to.stream);
       }
index a455f6055b6ae3ce4403aaf7fb337e9b28267924..a62dcefb999d4a2c0ada480a61345147344bc72b 100644 (file)
@@ -27,7 +27,13 @@ extern "C" {
     }
 
     if (data->main->output.verbosity != f_console_verbosity_quiet_e) {
-      fll_print_format("%r%[Now making.%]%r", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
+      flockfile(data->main->output.to.stream);
+
+      fl_print_format("%r%[Now making using '%]", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important);
+      fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, data->fakefile, data->main->context.set.notable);
+      fl_print_format("%['.%]%r", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important, f_string_eol_s);
+
+      funlockfile(data->main->output.to.stream);
     }
 
     f_status_t status = F_none;