Closed mickmister closed 4 years ago
I see the repo sync tool PR already has its dependencies in a separate go.mod
file now 0b067fe
(#86) in the build/sync
folder. I've excluded the dependencies that are specific to the sync tool in this PR. @hanzei Do you think all build dependencies should go in one go.mod
file in the build
directory?
Yes, that makes sense to me. A separate go.mod
for every directory in build
seams to much, when we can just keep one.
The CI failure will be fixed with https://github.com/mattermost/mattermost-plugin-starter-template/pull/124
/update-branch
Summary
Dependencies have been added to the plugin root directory's
go.mod
in order to support new functionality in the build process. As a result, plugins that sync with the starter template have had their rootgo.mod
file altered to support the build functionality.Having a separate
go.mod
file in the build folder allows us to more easily sync the deps needed to build across repos, as well as keep the build deps separate from the main deps of the plugin.Ticket Link
Fixes https://github.com/mattermost/mattermost-plugin-starter-template/issues/113