mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd)
This commit is contained in:
parent
850a715c79
commit
5098334e65
12 changed files with 25 additions and 14 deletions
|
@ -32,7 +32,7 @@ fn main() {
|
|||
println('resp != 0, skipping')
|
||||
} else {
|
||||
os.chdir('website')
|
||||
os.execute_or_panic('git checkout gh-pages')
|
||||
os.execute_or_exit('git checkout gh-pages')
|
||||
os.cp('../index.html', 'index.html') ?
|
||||
os.system('git commit -am "update benchmark"')
|
||||
os.system('git push origin gh-pages')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue