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

tools/fast: run git pull

This commit is contained in:
Alexander Medvednikov 2019-11-08 00:07:53 +03:00
parent 6c1b0785de
commit 0ca75f7782

View File

@ -14,6 +14,8 @@ fn main() {
}
println('fast.html generator\n')
// Fetch the last commit's hash
println('Fetching updates...')
exec('git pull --rebase')
mut commit_hash := exec('git rev-parse HEAD')
commit_hash = commit_hash[..7]
if !os.file_exists('table.html') {