-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BUILD targets for test_content_version fixture
- Loading branch information
1 parent
13cc714
commit 2edf279
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
], | ||
) |
4 changes: 3 additions & 1 deletion
4
st2tests/st2tests/fixtures/packs/test_content_version_fixture/BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"], | ||
) |