Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Fix incorrect PHONY and add PHONY linter#379

Open
benji-york wants to merge 2 commits intodarrenburns:masterfrom
benji-york:benji/fix-PHONY-add-linter
Open

Fix incorrect PHONY and add PHONY linter#379
benji-york wants to merge 2 commits intodarrenburns:masterfrom
benji-york:benji/fix-PHONY-add-linter

Conversation

@benji-york
Copy link
Copy Markdown

Hi, while evaluating Ward to use in my projects, I noticed a small bug in the Makefile so I thought I'd fix it.

I also took the liberty of improving (IMHO) the Makefile just a little.

Thanks for Ward—I'm really liking what I'm seeing!

One of the make PHONY targets was incorrect, so I fixed it and added a
linter that would have caught the error.
This adds a fairly standard Makefile config that is better suited to
non-C projects and is safer than the defaults.

This also changes the default target to a more standard "build" step
instead of "clean".  Now the pattern of "make clean; make; make test"
works as expected.
@benji-york benji-york changed the title Benji/fix phony add linter fix PHONY and add PHONY linter Apr 1, 2024
@benji-york benji-york changed the title fix PHONY and add PHONY linter Fix incorrect PHONY and add PHONY linter Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant