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:
parent
6c1b0785de
commit
0ca75f7782
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user