Skip to content

makefile complexity does not respect go modules #36

@n3wscott

Description

@n3wscott

The build scripts do not work if building a go module with an implicit path like modul github.com/crossplane-contrib/provider-nop/v2

The projects are expected to set PROJECT_REPO := github.com/crossplane-contrib/$(PROJECT_NAME)

The build system expects GO_PACKAGES := $(foreach t,$(GO_SUBDIRS),$(GO_PROJECT)/$(t)/...)

but this fails to account for modules != file paths when not on v0 or v1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions