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

ci: fix should_recompile_tool/2

This commit is contained in:
Delyan Angelov
2020-10-21 15:07:57 +03:00
parent 5e523fd03a
commit 87f659a0dc
2 changed files with 5 additions and 3 deletions

View File

@@ -67,7 +67,9 @@ fn prepare_vfmt_when_needed() {
}
fn recompile_file(vexe string, file string) {
recompile_result := os.system('$vexe $file')
cmd := '$vexe $file'
println('recompilation command: $cmd')
recompile_result := os.system(cmd)
if recompile_result != 0 {
eprintln('could not recompile $file')
exit(2)