eminetto / clean-architecture-go

Clean Architecture sample
628 stars 94 forks source link

Make command fails to compile #2

Closed aguyinagarage closed 5 years ago

aguyinagarage commented 5 years ago

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.