Skip to content

Commit

Permalink
Get golint from go_repository
Browse files Browse the repository at this point in the history
  • Loading branch information
fejta committed Jan 17, 2019
1 parent be2c362 commit c952ade
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ workspace_binary(

workspace_binary(
name = "golint",
cmd = "//vendor/github.com/golang/lint/golint",
cmd = "@com_github_golang_lint//golint",
)

load("@bazel_gazelle//:def.bzl", "gazelle")
Expand Down
8 changes: 8 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ load(
container_repositories()
## END test-infra repos

# Repos needed by utilities

go_repository(
name = "com_github_golang_lint",
commit = "470b6b0bb3005eda157f0275e2e4895055396a81",
importpath = "github.com/golang/lint",
)

## Repos generated by hack/update-deps.sh below

go_repository(
Expand Down

0 comments on commit c952ade

Please sign in to comment.