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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user