mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
When in overlay mode, extractFile will exit early if the file isn't in the list of files that changed since the base was extracted.
31 lines
691 B
Python
Generated
31 lines
691 B
Python
Generated
# generated running `bazel run //go/gazelle`, do not edit
|
|
|
|
load("@rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "util",
|
|
srcs = [
|
|
"extractvendordirs.go",
|
|
"logging.go",
|
|
"overlays.go",
|
|
"registryproxy.go",
|
|
"semver.go",
|
|
"util.go",
|
|
],
|
|
importpath = "github.com/github/codeql-go/extractor/util",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@org_golang_x_mod//semver"],
|
|
)
|
|
|
|
go_test(
|
|
name = "util_test",
|
|
srcs = [
|
|
"logging_test.go",
|
|
"registryproxy_test.go",
|
|
"semver_test.go",
|
|
"util_test.go",
|
|
],
|
|
embed = [":util"],
|
|
deps = ["@org_golang_x_mod//semver"],
|
|
)
|