package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
    "@io_bazel_rules_go//go:def.bzl",
    "go_binary",
    "go_library",
)

go_binary(
    name = "kazel",
    library = ":go_default_library",
    tags = ["automanaged"],
)

go_library(
    name = "go_default_library",
    srcs = [
        "config.go",
        "diff.go",
        "generator.go",
        "kazel.go",
        "sourcerer.go",
    ],
    tags = ["automanaged"],
    deps = [
        "//vendor:github.com/bazelbuild/buildifier/core",
        "//vendor:github.com/golang/glog",
        "//vendor:go/path/filepath",
    ],
)
