Skip to content

Go toolchain with moon: rebuild when upstream code changes #94

Description

@andyndang

Hi,

I have a build task in a go module that refers to an upstream module in go.mod

How do I make sure the task rebuilds if the go code in the upstream task changes? Looks like I have to manually insert /upstream/**/*.go at the moment to the inputs for the downstream task. Can it be handled by the go toolchain?

The toolchain does insert the upstream project as a project dependency, but I'm not sure if there's a way to do group(^:sources) or equivalent to tell moon to check for the source code upstream as well

Ref:

pub fn extend_project_graph(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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