Skip to content

WIP - Support building with vendorized go modules.#32

Draft
samacs wants to merge 1 commit into
canthefason:masterfrom
samacs:support-go-modules
Draft

WIP - Support building with vendorized go modules.#32
samacs wants to merge 1 commit into
canthefason:masterfrom
samacs:support-go-modules

Conversation

@samacs
Copy link
Copy Markdown

@samacs samacs commented Mar 4, 2019

This just gets the value of GO111MODULE and if it is set to on then go mod vendor is run and the build command includes the -mod=vendor param.

I think I can get rid of the go mod vendor command, as the vendor directory is supposed to be already present in order to speed up compile time either locally or running on docker.

Please share any comments.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant