]> git.tdb.fi Git - builder.git/commitdiff
Print out the commands at the appropriate verbosity level
authorMikko Rasa <tdb@tdb.fi>
Thu, 10 May 2012 21:21:25 +0000 (00:21 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:52 +0000 (00:08 +0300)
source/builder.cpp

index 21e5484b32cda923bcfb0719f5dfd9aee6c7703c..db46e5b7edf0345e67894871d3b0d0d3f7be697e 100644 (file)
@@ -585,6 +585,8 @@ int Builder::do_build()
                                Task *task = tgt->build();
                                if(task)
                                {
+                                       if(verbose>=2)
+                                               IO::print("%s\n", task->get_command());
                                        if(dry_run)
                                        {
                                                task->signal_finished.emit(true);