Skip to content

Rebuild when any module changes. #13

@brad-jones

Description

@brad-jones

gomake will only rebuild on changes to source files with-in a .gomake folder, originally I thought this would be fine but what I found was that I was copying code out of the gomake tasks to actually use in some deployed services. Eventually I created a shared module.

If you are importing an external module or even a module local to the same git repo / solution then you will have to manually delete the generated runner to force a rebuild when anything changes, this is super annoying.

We should take into account the projects go.mod/go.sum files when creating the hash for makefile_generated.go

We should also take into account any "local" modules.

However I am conscious of not wanting to slow the actual cache hash generation as it may defeat the purpose in the first place.

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