Skip to content

Commit

Permalink
[fix] test targets are always included in targets, not libraries
Browse files Browse the repository at this point in the history
Merge-request: BAZEL-MR-969
Merged-by: Marcin Abramowicz <marcin.abramowicz@jetbrains.com>
  • Loading branch information
abrams27 authored and Space Team committed Mar 27, 2024
1 parent c0de197 commit b117aec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,3 +6,5 @@ bazel-*
.DS_Store
projectview.bazelproject
__pycache__

.jps-compiled
Expand Up @@ -372,18 +372,21 @@ class BazelProjectMapper(
target.kind in setOf(
"java_library",
"java_binary",
"java_test",
"kt_jvm_library",
"kt_jvm_binary",
"kt_jvm_test",
"scala_library",
"scala_binary",
"scala_test",
"rust_test",
"rust_doc",
"rust_doc_test",
"android_library",
"android_binary",
"android_local_test",
)
)
)

private fun isRustTarget(target: TargetInfo): Boolean =
target.hasRustCrateInfo()
Expand Down

0 comments on commit b117aec

Please sign in to comment.