fork of https://github.com/sourcegraph/zoekt
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "ctags",
5 srcs = [
6 "json.go",
7 "parser_map.go",
8 ],
9 importpath = "github.com/sourcegraph/zoekt/ctags",
10 visibility = ["//visibility:public"],
11 deps = ["@com_github_sourcegraph_go_ctags//:go-ctags"],
12)
13
14go_test(
15 name = "ctags_test",
16 srcs = ["json_test.go"],
17 embed = [":ctags"],
18 deps = [
19 "@com_github_google_go_cmp//cmp",
20 "@com_github_google_go_cmp//cmp/cmpopts",
21 ],
22)