log: add log.use_stdout(), use it to silence the transition note for the most commonly used V tools/examples (#23642)

This commit is contained in:
Delyan Angelov 2025-02-03 12:37:57 +02:00 committed by GitHub
parent 23c3af8b4d
commit 319eb83525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 24 additions and 7 deletions

View file

@ -34,6 +34,7 @@ pub fn (t Task) run() {
pub fn run(all_tasks map[string]Task) {
unbuffer_stdout()
log.use_stdout()
if os.args.len < 2 {
println('Usage: v run macos_ci.vsh <task_name>')
println('Available tasks are: ${all_tasks.keys()}')