25 lines
595 B
Python
25 lines
595 B
Python
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 = [
|
|
"//ipgeo:go_default_library",
|
|
"//mapping:go_default_library",
|
|
"@com_github_ipipdotnet_ipdb_go//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "navigator",
|
|
pure = "on",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|