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

v up: Windows fix

This commit is contained in:
Alexander Medvednikov 2019-07-31 04:49:29 +02:00
parent f6e717a5fd
commit 5c9a08ce81

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 {