Skip to content

Commit bd7c86a

Browse files
committed
tools: make fast_job.v more informative on updates
1 parent 1868b10 commit bd7c86a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/tools/fast/fast_job.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@ fn main() {
3434
for {
3535
elog('------------------- Checking for updates ... -------------------')
3636
res_pull := os.execute('git pull --rebase')
37+
elog('> res_pull.output:\n $res_pull.output')
3738
if res_pull.exit_code != 0 {
38-
println('failed to git pull. uncommitted changes?')
39-
println('res_pull.output: $res_pull.output')
39+
elog('Git pull failed. You may have uncommitted changes?')
4040
delay()
4141
continue
4242
}
4343
if res_pull.output.contains('Already up to date.') {
4444
if os.args[1] or { '' } == '-force-update' {
4545
elog('The repository was already updated, but -force-update was passed too.')
4646
} else {
47-
elog('Already updated.')
4847
delay()
4948
continue
5049
}
5150
}
5251

5352
elog('recompiling V')
5453
os.system('${os.quoted_path(vexe)} self')
54+
os.system('ls -la ${os.quoted_path(vexe)}')
5555

5656
elog('recompiling ./fast')
5757
os.execute('${os.quoted_path(vexe)} fast.v')

0 commit comments

Comments
 (0)