tools/fast: run git pull

pull/2694/head
Alexander Medvednikov 2019-11-08 00:07:53 +03:00
parent 6c1b0785de
commit 0ca75f7782
1 changed files with 2 additions and 0 deletions

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') {