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

Feature: Warn on missing task definitions #89

Open
mcandre opened this issue Mar 21, 2023 · 0 comments
Open

Feature: Warn on missing task definitions #89

mcandre opened this issue Mar 21, 2023 · 0 comments

Comments

@mcandre
Copy link

mcandre commented Mar 21, 2023

checkmake has some odd behavior regarding phony targets. It specifies several minimum phony targets, such as all, clean, and test. But it doesn't actually validate whether the tasks are defined.

(GNU) make doesn't appear to care about undefined tasks until very late, when the task is explicitly invoked.

A linter such as checkmake would be a natural place to insert a new rule, that validates that all tasks referenced in a makefile, are actually defined somewhere.

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