mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[python] Add intellij.python.community._test module descriptor to run tests in dev-mode (IJPL-116621)
GitOrigin-RevId: 59dc5a2b0b52d0b3c10288a5394fd560c7aabc2a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c4ab08d8d9
commit
b09e3546ec
@@ -7,6 +7,12 @@ jvm_resources(
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_resources(
|
||||
name = "community_test_resources",
|
||||
files = glob(["testResources/**/*"]),
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "community",
|
||||
module_name = "intellij.python.community",
|
||||
@@ -56,7 +62,8 @@ jvm_library(
|
||||
exports = [
|
||||
"//python/python-psi-api:psi",
|
||||
"//platform/platform-util-io:ide-util-io",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":community_test_resources"]
|
||||
)
|
||||
### auto-generated section `build intellij.python.community` end
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<idea-plugin>
|
||||
<dependencies>
|
||||
<module name="intellij.libraries.junit5"/>
|
||||
<module name="intellij.python.community"/>
|
||||
</dependencies>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user