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

vup: use v.exe

This commit is contained in:
Alexander Medvednikov 2020-05-18 15:49:26 +02:00
parent 905cf326cd
commit 857276e81f

View File

@ -61,12 +61,16 @@ fn main() {
_ := os.exec('v cmd/tools/vup.v') or {
panic(err)
}
show_current_v_version()
show_current_v_version()
}
fn show_current_v_version(){
println('Current V version:')
os.system('v version')
$if windows {
os.system('v.exe version')
} $else {
os.system('v version')
}
}
fn backup(file string) {