Skip to content

Commit

Permalink
Move go mod download all to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Jun 10, 2021
1 parent dce9a06 commit cc103dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions generator/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test-package: test
cd ${BEAT_PATH} ; \
export PATH=$${GOPATH}/bin:$${PATH}; \
go mod tidy && \
go mod download all && \
mage package

.PHONY: prepare-test
Expand Down
3 changes: 0 additions & 3 deletions generator/common/beatgen/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,4 @@ func Update() error {
return err
}
return gotool.Mod.Tidy()
return gotool.Mod.Download(func(a *gotool.Args) {
a.Add("all")
})
}

0 comments on commit cc103dd

Please sign in to comment.