mirror of
https://github.com/vlang/v.git
synced 2025-09-10 16:00:31 -04:00
tools: restore previous behavior of v download
(show progress on stdout, when it is connected to an interactive terminal; hide log stdout->stderr notice)
This commit is contained in:
parent
7549020d1f
commit
ceaa5d2315
@ -23,6 +23,9 @@ mut:
|
|||||||
const vexe = os.real_path(os.getenv_opt('VEXE') or { @VEXE })
|
const vexe = os.real_path(os.getenv_opt('VEXE') or { @VEXE })
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
mut l := log.ThreadSafeLog{}
|
||||||
|
l.set_output_stream(os.stdout())
|
||||||
|
log.set_logger(l)
|
||||||
mut ctx := Context{}
|
mut ctx := Context{}
|
||||||
mut fp := flag.new_flag_parser(os.args#[1..])
|
mut fp := flag.new_flag_parser(os.args#[1..])
|
||||||
fp.application(os.file_name(os.executable()))
|
fp.application(os.file_name(os.executable()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user