v up: Windows fix

pull/1389/head
Alexander Medvednikov 2019-07-31 04:49:29 +02:00
parent f6e717a5fd
commit 5c9a08ce81
1 changed files with 1 additions and 0 deletions

View File

@ -1342,6 +1342,7 @@ fn update_v() {
mut s := os.exec('git -C "$vroot" pull --rebase origin master')
println(s)
$if windows {
os.mv('$vroot/v.exe', '$vroot/v_old.exe')
s = os.exec('$vroot/make.bat')
println(s)
} $else {