mrtazz / checkmake

experimental linter/analyzer for Makefiles
MIT License
1.04k stars 45 forks source link

checkmake --version . . . doesn't have a version #20

Closed jyn514 closed 6 years ago

jyn514 commented 6 years ago

Expected behaviour

checkmake v1.0 built at 2017/12/17 by Joshua Nelson with Go v<something here>

Actual behaviour

checkmake built at by with

Output of checkmake --version

checkmake built at by with

mrtazz commented 6 years ago

Is this from a build you've run yourself? Is this from a package install? If so from which version?

mrtazz commented 6 years ago

Closing for inactivity. Please reopen if the problem persists.

marccarre commented 3 years ago

@mrtazz, this still is happening with the following steps (taken from README.md and Dockerfile):

$ uname -a
Linux f3929e4856f6 5.4.39-linuxkit #1 SMP Fri May 8 23:03:06 UTC 2020 x86_64 GNU/Linux

$ go version
go version go1.15.6 linux/amd64

$ go get github.com/mrtazz/checkmake && \
>     cd $GOPATH/src/github.com/mrtazz/checkmake && \
>     GOOS=linux GOARCH=amd64 CGO_ENABLED=0 make binaries && \
>     make test

$ checkmake --version
checkmake  built at  by  with 

Any suggestion?

EDIT: