Skip to content

Commit

Permalink
KUBESAW-124: Makefile target for dependency validations (codeready-to…
Browse files Browse the repository at this point in the history
…olchain#410)

* KUBESAW-124: Makefile target for dependency validations

Signed-off-by: Feny Mehta <[email protected]>

* adding build

Signed-off-by: Feny Mehta <[email protected]>

---------

Signed-off-by: Feny Mehta <[email protected]>
Co-authored-by: Francisc Munteanu <[email protected]>
  • Loading branch information
fbm3307 and mfrancisc authored Jun 28, 2024
1 parent d42111e commit 7f226f5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,16 @@ build: $(shell find . -path ./vendor -prune -o -name '*.go' -print)

.PHONY: vendor
vendor:
$(Q)go mod vendor
$(Q)go mod vendor

.PHONY: verify-dependencies
## Runs commands to verify after the updated dependecies of toolchain-common/API(go mod replace), if the repo needs any changes to be made
verify-dependencies: tidy vet build test lint-go-code

.PHONY: tidy
tidy:
go mod tidy

.PHONY: vet
vet:
go vet ./...

0 comments on commit 7f226f5

Please sign in to comment.