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 = [ "//api/beacon/v1:go_default_library", "//api/navigator:go_default_library", "//ipgeo:go_default_library", "//mapping:go_default_library", "@com_github_sirupsen_logrus//:go_default_library", ], ) go_binary( name = "navigator", data = glob(["rules/**"]), embed = [":go_default_library"], visibility = ["//visibility:public"], )