Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Skip -i flag in go build if modules are enabled #1337

Merged
merged 1 commit into from
Sep 29, 2018
Merged

Skip -i flag in go build if modules are enabled #1337

merged 1 commit into from
Sep 29, 2018

Conversation

cippaciong
Copy link
Contributor

Using -i flag when running go build is not useful with go modules enabled
and in some cases can lead to a bug, with go trying to rebuild
shipped vendorized dependencies as described in this issue
golang/go#27285.
With this commit we check if go modules are enabled and we drop the -i
flag accordingly.

Using -i flag when running go build is not useful with go modules enabled
and in some cases can lead to a bug, with go trying to rebuild
shipped vendorized dependencies as described in this issue
golang/go#27285.
With this commit we check if go modules are enabled and we drop the -i
flag accordingly.
@markbates markbates merged commit 426c84d into gobuffalo:development Sep 29, 2018
@markbates markbates added this to the v0.13.0 milestone Sep 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants