mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Refactor JS test suite to be more in line with other Java projects.
Therefore, we move the test suite out of the `src` directory.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
load("@//:common.bzl", "codeql_fat_jar", "codeql_java_project")
|
||||
load("@rules_pkg//pkg:mappings.bzl", "pkg_files")
|
||||
|
||||
codeql_java_project(
|
||||
name = "extractor",
|
||||
deps = [
|
||||
java_library(
|
||||
name = "deps",
|
||||
visibility = [":__subpackages__"],
|
||||
exports = [
|
||||
"@//extractor:html",
|
||||
"@//extractor:yaml",
|
||||
"@//resources/lib/java:commons-compress",
|
||||
@@ -11,7 +12,6 @@ codeql_java_project(
|
||||
"@//resources/lib/java:jericho-html",
|
||||
"@//resources/lib/java:slf4j-api",
|
||||
"@//resources/lib/java:snakeyaml",
|
||||
"@//resources/lib/java/DO_NOT_DISTRIBUTE:junit",
|
||||
"@//third_party:jackson",
|
||||
"@//third_party:logback",
|
||||
"@//util-java7",
|
||||
@@ -19,6 +19,13 @@ codeql_java_project(
|
||||
],
|
||||
)
|
||||
|
||||
codeql_java_project(
|
||||
name = "extractor",
|
||||
deps = [
|
||||
":deps",
|
||||
],
|
||||
)
|
||||
|
||||
pkg_files(
|
||||
name = "javascript-extractor-resources",
|
||||
srcs = glob(["resources/**"]),
|
||||
|
||||
Reference in New Issue
Block a user