eminetto/clean-architecture-go

Make command fails to compile

Closed this issue · 0 comments

Hi

The make command as defined in your docs fails to work. We get a very cryptic and strange message saying it can't find the package main.go in any of the normal paths.

After debugging there seems to be a bug in your Makefile at the top you define a default BOOKMARK_ENV variable that is set to dev by default. Later on in your recipes you use a CODENATION_ENV variable that is never set. This is causing the error. Changing BOOKMARK_ENV to CODENATION_ENV at the top of the Makefile fixed the issue.