Skip to content

Commit

Permalink
add go mod vendor for hack/tools dir to make deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Patryk-Stefanski committed Jan 18, 2024
1 parent efe0104 commit 9e4e12f
Show file tree
Hide file tree
Showing 14 changed files with 3,238 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bin
tools/bin

# Test binary, build with `go test -c`
*.test
!vendor/**/*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ deps:
$(GO) mod vendor
$(GO) mod verify
$(GO) list -m -mod=readonly -json all > /dev/null
(cd hack/tools && $(GO) mod tidy && $(GO) mod vendor && $(GO) mod verify && $(GO) list -m -mod=readonly -json all > /dev/null)


# Run staticcheck
# How to ignore failures https://staticcheck.io/docs/configuration#line-based-linter-directives
Expand Down
Loading

0 comments on commit 9e4e12f

Please sign in to comment.