fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "build", 5 srcs = [ 6 "builder.go", 7 "builder_unix.go", 8 "ctags.go", 9 ], 10 importpath = "github.com/sourcegraph/zoekt/build", 11 visibility = ["//visibility:public"], 12 deps = [ 13 "//:zoekt", 14 "//ctags", 15 "@com_github_bmatcuk_doublestar//:doublestar", 16 "@com_github_grafana_regexp//:regexp", 17 "@com_github_rs_xid//:xid", 18 "@in_gopkg_natefinch_lumberjack_v2//:lumberjack_v2", 19 ] + select({ 20 "@io_bazel_rules_go//go/platform:aix": [ 21 "@org_golang_x_sys//unix", 22 ], 23 "@io_bazel_rules_go//go/platform:android": [ 24 "@org_golang_x_sys//unix", 25 ], 26 "@io_bazel_rules_go//go/platform:darwin": [ 27 "@org_golang_x_sys//unix", 28 ], 29 "@io_bazel_rules_go//go/platform:dragonfly": [ 30 "@org_golang_x_sys//unix", 31 ], 32 "@io_bazel_rules_go//go/platform:freebsd": [ 33 "@org_golang_x_sys//unix", 34 ], 35 "@io_bazel_rules_go//go/platform:illumos": [ 36 "@org_golang_x_sys//unix", 37 ], 38 "@io_bazel_rules_go//go/platform:ios": [ 39 "@org_golang_x_sys//unix", 40 ], 41 "@io_bazel_rules_go//go/platform:js": [ 42 "@org_golang_x_sys//unix", 43 ], 44 "@io_bazel_rules_go//go/platform:linux": [ 45 "@org_golang_x_sys//unix", 46 ], 47 "@io_bazel_rules_go//go/platform:netbsd": [ 48 "@org_golang_x_sys//unix", 49 ], 50 "@io_bazel_rules_go//go/platform:openbsd": [ 51 "@org_golang_x_sys//unix", 52 ], 53 "@io_bazel_rules_go//go/platform:plan9": [ 54 "@org_golang_x_sys//unix", 55 ], 56 "@io_bazel_rules_go//go/platform:solaris": [ 57 "@org_golang_x_sys//unix", 58 ], 59 "//conditions:default": [], 60 }), 61) 62 63go_test( 64 name = "build_test", 65 srcs = [ 66 "builder_test.go", 67 "ctags_test.go", 68 "e2e_test.go", 69 ], 70 data = glob(["testdata/**"]) + ["//testdata:testdata"], 71 embed = [":build"], 72 deps = [ 73 "//:zoekt", 74 "//ctags", 75 "//query", 76 "//shards", 77 "@com_github_google_go_cmp//cmp", 78 "@com_github_google_go_cmp//cmp/cmpopts", 79 "@com_github_grafana_regexp//:regexp", 80 ], 81)