2019-12-25 15:24:10 +08:00
|
|
|
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-01-12 22:09:30 +08:00
|
|
|
"//api/beacon/v1:go_default_library",
|
|
|
|
"//api/navigator:go_default_library",
|
2019-12-25 15:24:10 +08:00
|
|
|
"//ipgeo:go_default_library",
|
|
|
|
"//mapping:go_default_library",
|
2020-02-01 15:06:00 +08:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-12-25 15:24:10 +08:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "navigator",
|
2020-01-12 22:09:30 +08:00
|
|
|
data = glob(["rules/**"]),
|
2019-12-25 15:24:10 +08:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|