source/projects/yamlschema/BUILD

22 lines
316 B
Python
Raw Normal View History

2021-05-14 17:55:28 +00:00
py_library(
2021-05-15 04:41:00 +00:00
name="yamlschema",
srcs=[
2021-05-14 17:55:28 +00:00
"yamlschema.py",
],
2021-05-15 04:41:00 +00:00
imports=[
2021-05-14 17:55:28 +00:00
".",
],
2021-05-15 04:41:00 +00:00
deps=[
2021-05-14 17:55:28 +00:00
py_requirement("PyYAML"),
2021-05-15 04:41:00 +00:00
],
)
py_pytest(
name="test_yamlschema",
srcs=glob(["test_*.py"]),
data=glob(["*.json", "*.yaml"]),
deps=[
":yamlschema",
],
2021-05-14 17:55:28 +00:00
)