prysm-pulse/BUILD.bazel
Preston Van Loon 763d0d6bdc
Add Go tools in bazel (#608)
* add atlassian bazel tools

* Add bazel entrypoints for native go stuff

* gazelle
2018-10-02 22:04:36 -04:00

34 lines
752 B
Python

load("@bazel_gazelle//:def.bzl", "gazelle")
load("@com_github_atlassian_bazel_tools//gometalinter:def.bzl", "gometalinter")
load("@com_github_atlassian_bazel_tools//goimports:def.bzl", "goimports")
load("@io_kubernetes_build//defs:run_in_workspace.bzl", "workspace_binary")
prefix = "github.com/prysmaticlabs/prysm"
# gazelle:prefix github.com/prysmaticlabs/prysm
gazelle(
name = "gazelle",
prefix = prefix,
)
gometalinter(
name = "gometalinter",
config = "//:.gometalinter.json",
paths = [
"./...",
],
prefix = prefix,
)
goimports(
name = "goimports",
display_diffs = True,
write = False,
prefix = prefix,
)
workspace_binary(
name = "golint",
cmd = "@com_github_golang_lint//golint",
)