Skip to content

Commit 2edf279

Browse files
committed
Add BUILD targets for test_content_version fixture
1 parent 13cc714 commit 2edf279

File tree

2 files changed

+33
-1
lines changed
  • st2tests/st2tests/fixtures/packs

2 files changed

+33
-1
lines changed
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# The files in test_content_version* targets are in ./test_content_version
2+
# which is a git submodule.
3+
# The test_content_version* targets are dependencies of ./test_content_version_fixture
4+
5+
resources(
6+
name="test_content_version_metadata",
7+
sources=[
8+
"test_content_version/pack.yaml",
9+
"test_content_version/**/*.yaml",
10+
"test_content_version/icon.png",
11+
],
12+
)
13+
14+
shell_sources(
15+
name="test_content_version_shell",
16+
sources=[
17+
"test_content_version/**/*.sh",
18+
],
19+
)
20+
21+
python_sources(
22+
name="test_content_version",
23+
dependencies=[
24+
":test_content_version_metadata",
25+
":test_content_version_shell",
26+
],
27+
sources=[
28+
"test_content_version/**/*.py",
29+
],
30+
)
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
python_sources()
1+
python_sources(
2+
dependencies=["st2tests/st2tests/fixtures/packs:test_content_version"],
3+
)

0 commit comments

Comments
 (0)