mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
add go mod tidy to bootstrap make target
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
7ae4504182
commit
9c7906364d
1
Makefile
1
Makefile
@ -108,6 +108,7 @@ bootstrap-tools: $(TEMPDIR)
|
|||||||
.PHONY: bootstrap-go
|
.PHONY: bootstrap-go
|
||||||
bootstrap-go:
|
bootstrap-go:
|
||||||
go mod download
|
go mod download
|
||||||
|
go mod tidy # note: it is important that the go.sum is kept in a consistent state at all times (especially during release)
|
||||||
|
|
||||||
.PHONY: bootstrap
|
.PHONY: bootstrap
|
||||||
bootstrap: $(RESULTSDIR) bootstrap-go bootstrap-tools ## Download and install all go dependencies (+ prep tooling in the ./tmp dir)
|
bootstrap: $(RESULTSDIR) bootstrap-go bootstrap-tools ## Download and install all go dependencies (+ prep tooling in the ./tmp dir)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user