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

fast: update V with v up instead of git pull

This commit is contained in:
Alexander Medvednikov
2020-08-27 18:07:28 +02:00
parent a14c6c1ffe
commit 27702b5a5d
2 changed files with 4 additions and 3 deletions

View File

@ -15,9 +15,9 @@ fn main() {
println('fast.html generator\n')
// Fetch the last commit's hash
println('Fetching updates...')
ret := os.system('git pull --rebase')
ret := os.system('$vdir/v up')
if ret != 0 {
println('failed to git pull')
println('failed to update V')
return
}
mut commit_hash := exec('git rev-parse HEAD')