Make yamlschema publishable

This commit is contained in:
Reid 'arrdem' McKenzie 2021-05-17 14:38:13 -06:00
commit f194018616
5 changed files with 97 additions and 24 deletions
projects/yamlschema

View file

@ -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",