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:
@ -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')
|
||||
|
Reference in New Issue
Block a user