navigator/BUILD.bazel

28 lines
744 B
Python
Raw Normal View History

load("@bazel_gazelle//:def.bzl", "gazelle")
gazelle(name = "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "git.eve.moe/jackyyf/navigator",
visibility = ["//visibility:private"],
deps = [
2020-02-02 16:39:15 +08:00
"//api/beacon:go_default_library",
"//api/beacon/v1:go_default_library",
"//api/navigator:go_default_library",
"//ipgeo:go_default_library",
"//mapping:go_default_library",
2020-02-01 15:06:00 +08:00
"@com_github_sirupsen_logrus//:go_default_library",
],
)
go_binary(
name = "navigator",
data = glob(["rules/**"]),
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)