public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
* Willing out-of-date targets do not work
@ 2021-10-12 14:29 goredo
  2021-10-14 10:31 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: goredo @ 2021-10-12 14:29 UTC (permalink / raw)
  To: goredo-devel

Hi,

it was my impression, and the FAQ also states, that targets, that do not produce output files, are always considered out-of-date.  This does not seem to be the case.

Test case:
f.do:
```
#!/bin/sh
echo foo >&2
```

Run `redo-ifchange f` twice. `foo` only gets printed once.

Kind regards,
–Michael



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

* Re: Willing out-of-date targets do not work
  2021-10-12 14:29 Willing out-of-date targets do not work goredo
@ 2021-10-14 10:31 ` Sergey Matveev
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Matveev @ 2021-10-14 10:31 UTC (permalink / raw)
  To: goredo-devel

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

Greetings!

*** goredo [2021-10-12 14:29]:
>it was my impression, and the FAQ also states, that targets, that do not produce output files, are always considered out-of-date.
>does not seem to be the case.

Yes, it should be so.
Indeed, that surprised me also, that unexistent targets are not OOD.
Fixed in http://www.git.cypherpunks.ru/?p=goredo.git;a=commitdiff;h=67419ca36c09dc3489f9089399b37803fa94ae2a
Will appear in following release. Thank you for the report!

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: CF60 E89A 5923 1E76 E263  6422 AE1A 8109 E498 57EF

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-10-14 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 14:29 Willing out-of-date targets do not work goredo
2021-10-14 10:31 ` Sergey Matveev