benlaurie / objecthash

A way to cryptographically hash objects (in the JSON-ish sense) that works cross-language. And, therefore, cross-encoding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Makefile does not run "go" tests

maljub01 opened this issue · comments

Running make does not run the go tests.

Even if I try to directly run make go, I just get the following:

make: `go' is up to date.

Looking more into this, it turns out that this is happening because we have a directory checked in called go.

Because targets are interpreted as names for files, when we run make or make go, make finds that we already have a target called go and thinks there's nothing left to be done here.

This can be fixed by marking targets as .PHONY.

This was fixed in 742d173.