Skip to content

"Problems" with makefile #3

Open
@luisfmelo

Description

@luisfmelo

Hi, whenever I try to apply make test, the following appears:

flag provided but not defined: -u
Usage of id:
  -in string
        path to NodeIds.csv (default "schema/NodeIds.csv")
  -out string
        path to generated file (default "id/id_gen.go")
flag provided but not defined: -g
Usage of id:
  -in string
        path to NodeIds.csv (default "schema/NodeIds.csv")
  -out string
        path to generated file (default "id/id_gen.go")
Running tests:
build github.com/MartinHeinz/go-project-blueprint/cmd/blueprint: cannot load github.com/alecthomas/template: open /src/vendor/github.com/alecthomas/template: no such file or directory
make: *** [test] Error 1

It seems like some command underneath is using wrong flags. (this is just a warning)
But, the process ends with failure because it is assuming the user had installed dependencies with go mod vendor. Maybe you should add that step to prevent that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions