From 9b0ef781dc7b964c4df79317ba3fc622cc342050 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 25 Aug 2020 19:54:27 +0300 Subject: [PATCH] vup: add more diagnostic lines for `v -v up` --- cmd/tools/vup.v | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/tools/vup.v b/cmd/tools/vup.v index 0c5d72cb47..9b29e81063 100644 --- a/cmd/tools/vup.v +++ b/cmd/tools/vup.v @@ -43,6 +43,9 @@ fn main() { } fn (app App) update_from_master() { + if app.is_verbose { + println('> updating from master ...') + } if !os.exists('.git') { // initialize as if it had been cloned app.git_command('init') @@ -59,6 +62,9 @@ fn (app App) update_from_master() { fn (app App) recompile_v() { // NB: app.vexe is more reliable than just v (which may be a symlink) vself := '$app.vexe self' + if app.is_verbose { + println('> recompiling v itself with `$vself` ...') + } if self_result := os.exec(vself) { println(self_result.output) if self_result.exit_code == 0 {