Make yamlschema publishable
This commit is contained in:
parent
65879a3e7b
commit
f194018616
5 changed files with 97 additions and 24 deletions
projects/yamlschema
|
@ -1,10 +1,8 @@
|
|||
py_library(
|
||||
name="yamlschema",
|
||||
srcs=[
|
||||
"yamlschema.py",
|
||||
],
|
||||
srcs=glob(["src/python/**/*.py"]),
|
||||
imports=[
|
||||
".",
|
||||
"src/python",
|
||||
],
|
||||
deps=[
|
||||
py_requirement("PyYAML"),
|
||||
|
@ -13,7 +11,7 @@ py_library(
|
|||
|
||||
py_pytest(
|
||||
name="test_yamlschema",
|
||||
srcs=glob(["test_*.py"]),
|
||||
srcs=glob(["test/python/test_*.py"]),
|
||||
data=glob(["*.json", "*.yaml"]),
|
||||
deps=[
|
||||
":yamlschema",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue