checkmake icon indicating copy to clipboard operation
checkmake copied to clipboard

experimental linter/analyzer for Makefiles

Results 47 checkmake issues
Sort by recently updated
recently updated
newest added

I am finding myself with less and less time to devote to this project. And it definitely shows on the issues page and the lack of implemented features. If anyone...

this would be awesome to integrate with vim and syntastic

I'd like to embed checkmake within [MegaLinter](https://oxsecurity.github.io/megalinter/latest/) Is there a known way to install it on alpine linux ? Many thanks !

## Checklist Not all of these might apply to your change but the more you are able to check the easier it will be to get your contribution merged. -...

### Expected behaviour Makefile ``` .PHONY: update_my_stuff update_my_stuffv: .PHONY: all all: .PHONY: clean clean: .PHONY: test test: ``` fails with ``` timestampexpanded Variable "PHONY" possibly 2 contains a timestamp and...

## Description As a follow-up to #69, this PR adds support for passing multiple `Makefile` / `*.mk` paths as command-line arguments, just like how `pre-commit run --all-files` will execute `checkmake`...

Hello, This commit fixes the following error on [podman](https://podman.io/) that is used mainly on Fedora, RHEL. ``` $ podman --version podman version 3.4.4 $ podman build --build-arg BUILDER_NAME='Your Name' --build-arg...

### Expected behaviour The `checkmake` passes for the `.PHONY : foo` (`.PHONY: foo`) in the `Makefile`. ``` $ checkmake Makefile $ echo $? 0 ``` ### Actual behaviour The `checkmake`...

https://github.com/mrtazz/checkmake/blob/ca982aef0af387413edc4b515880bef071730dea/parser/parser.go#L48-L49 Those regex definitions don't recognize `VAR=blah` or VAR:=blah` and flag such lines as needing `.PHONY`. ``` 1 ifeq ($(OS), Windows_NT) >> 2 MKDIR:=$(shell which mkdir.exe) 3 else ~ 4...

Just a few adjustments to make the Docker image even better :tada: