Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support real .PHONY targets #3

Open
Hoboneer opened this issue Aug 2, 2021 · 0 comments
Open

Support real .PHONY targets #3

Hoboneer opened this issue Aug 2, 2021 · 0 comments

Comments

@Hoboneer
Copy link
Owner

Hoboneer commented Aug 2, 2021

From what i've seen in the wild, targets that, in make, would be marked .PHONY aren't anything special in the eyes of redo.

They're just run with redo, while their dependencies would be run with redo-ifchange.

What happens if a file with the same name exists? If used with redo, there's no problem, but if used with redo-ifchange, nothing is run.

Distinguishing real, phony, and "virtual" (multi-output) targets might help:

  1. users unfamiliar with the repo, since a command like redo-targets -p (p for phony) could be run; and
  2. other programs, which could use that information for other purposes (such as autodocs, or linting the project's .do files?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant