mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:11:57 +00:00
Movin enterprise codeintel stuff (and ~two others that had to be dragged
along) out of `enterprise/internal` and into `internal` as part of the
shift towards enterprise-only
## Test plan
Successfully built frontend with bazel, CI will check the rest
😎 no logic changed, just shufflin things around
21 lines
479 B
Python
21 lines
479 B
Python
load("//dev:go_defs.bzl", "go_test")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "paths",
|
|
srcs = ["match.go"],
|
|
importpath = "github.com/sourcegraph/sourcegraph/internal/paths",
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//lib/errors",
|
|
"@com_github_becheran_wildmatch_go//:wildmatch-go",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "paths_test",
|
|
timeout = "short",
|
|
srcs = ["match_test.go"],
|
|
embed = [":paths"],
|
|
)
|