public inbox for goredo-devel@lists.stargrave.org
Atom feed
* Self-cycle not detected in goredo
@ 2026-01-24 13:21 Niklas Böhm
  2026-01-25 10:37 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Böhm @ 2026-01-24 13:21 UTC (permalink / raw)
  To: goredo-devel

Hi everyone,

this is something small that I accidentally come across from 
time-to-time.  If you have a do file that `redo-ifchange`s itself, then 
the execution would simply stall.  I think it would be a nice and small 
improvement if it would instead produce an error, since that is a cycle 
in the dependency graph.

Let me know what you think!

Best
Niklas

PS: small, trivial example:

file "test.do"
```
redo-ifchange test
echo hi
```

`redo-ifchange test` will not return.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-25 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-24 13:21 Self-cycle not detected in goredo Niklas Böhm
2026-01-25 10:37 ` Sergey Matveev