11# SPDX-License-Identifier: MIT
22# Copyright (c) the purl authors
3- # Visit https://github.com/package-url/purl -spec and https://packageurl.org for support
3+ # Visit https://github.com/package-url/vers -spec and https://packageurl.org for support
44
55PYTHON_EXE? =python3
66VENV_LOCATION =venv
@@ -39,7 +39,7 @@ formatcode:
3939formatjson :
4040 @echo " -> Format JSON files"
4141 @${ACTIVATE} python etc/scripts/format_json.py schemas/
42- @${ACTIVATE} python etc/scripts/format_json.py types /
42+ @${ACTIVATE} python etc/scripts/format_json.py schemes /
4343 @${ACTIVATE} python etc/scripts/format_json.py tests/
4444
4545format : formatcode formatjson
@@ -49,9 +49,9 @@ checkjson:
4949 @echo " -> Validate JSON schemas"
5050 @${ACTIVATE} check-jsonschema --check-metaschema --verbose schemas/* .json
5151 @echo " -> Validate JSON data files against the schemas"
52- @${ACTIVATE} check-jsonschema --schemafile schemas/purl-types -index.schema.json --verbose purl-types -index.json
53- @${ACTIVATE} check-jsonschema --schemafile schemas/purl-type -definition.schema.json --verbose types /* -definition.json
54- @${ACTIVATE} check-jsonschema --schemafile schemas/purl -test.schema.json --verbose tests/* /* -test.json
52+ @${ACTIVATE} check-jsonschema --schemafile schemas/vers-schemes -index.schema.json --verbose vers-schemes -index.json
53+ @${ACTIVATE} check-jsonschema --schemafile schemas/vers-scheme -definition.schema.json --verbose schemes /* -definition.json
54+ @${ACTIVATE} check-jsonschema --schemafile schemas/vers -test.schema.json --verbose tests/* /* -test.json
5555
5656checkcode :
5757 @echo " -> Run Ruff linter validation (pycodestyle, bandit, isort, and more)"
@@ -70,14 +70,14 @@ clean:
7070gencode :
7171 @echo " -> Generate Python code from schemas"
7272 @${ACTIVATE} ${CODEGEN} \
73- --input schemas/purl-types -index.schema.json \
74- --output etc/scripts/purl_types_index .py
73+ --input schemas/vers-schemes -index.schema.json \
74+ --output etc/scripts/vers_schemes_index .py
7575 @${ACTIVATE} ${CODEGEN} \
76- --input schemas/purl-type -definition.schema.json \
77- --output etc/scripts/purl_type_definition .py
76+ --input schemas/vers-scheme -definition.schema.json \
77+ --output etc/scripts/vers_scheme_definition .py
7878 @${ACTIVATE} ${CODEGEN} \
79- --input schemas/purl -test.schema.json \
80- --output etc/scripts/purl_test .py
79+ --input schemas/vers -test.schema.json \
80+ --output etc/scripts/vers_test .py
8181 @echo " -> Run Black format for generated code"
8282 @${ACTIVATE} black -l 100 --preview --enable-unstable-feature string_processing etc/scripts/* .py
8383
0 commit comments