1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vtools: add an info message

This commit is contained in:
Alexander Medvednikov 2019-11-02 13:27:09 +03:00
parent 3097ba93d7
commit 3b3f0eb507

View File

@ -33,6 +33,7 @@ pub fn launch_tool(tname string){
if tool_should_be_recompiled {
compilation_command := '$vexe $tool_source'
//println('Compiling $tname with: "$compilation_command"')
println('Building $tname for the first time...')
tool_compilation := os.exec(compilation_command) or { panic(err) }
if tool_compilation.exit_code != 0 {
panic('V tool "$tool_source" could not be compiled.')