Skip to content

Commit

Permalink
Add BUILD targets for test_content_version fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Sep 20, 2022
1 parent 13cc714 commit 2edf279
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
30 changes: 30 additions & 0 deletions st2tests/st2tests/fixtures/packs/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# The files in test_content_version* targets are in ./test_content_version
# which is a git submodule.
# The test_content_version* targets are dependencies of ./test_content_version_fixture

resources(
name="test_content_version_metadata",
sources=[
"test_content_version/pack.yaml",
"test_content_version/**/*.yaml",
"test_content_version/icon.png",
],
)

shell_sources(
name="test_content_version_shell",
sources=[
"test_content_version/**/*.sh",
],
)

python_sources(
name="test_content_version",
dependencies=[
":test_content_version_metadata",
":test_content_version_shell",
],
sources=[
"test_content_version/**/*.py",
],
)
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
python_sources()
python_sources(
dependencies=["st2tests/st2tests/fixtures/packs:test_content_version"],
)

0 comments on commit 2edf279

Please sign in to comment.