16 lines
1.3 KiB
Bash
Executable file
16 lines
1.3 KiB
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# This script applies patches to the active linkml installation.
|
|
# It is to be executed in the root of the repository.
|
|
#
|
|
|
|
# make JSON schema generation work with mixins
|
|
#patch -d $(python -c 'import os; import linkml.generators.jsonschemagen as m; print(os.path.dirname(m.__file__))') < patches/jsonschemagen_mixins.diff
|
|
#patch -d $(python -c 'import os; import linkml.validators.jsonschemavalidator as m; print(os.path.dirname(m.__file__))') < patches/jsonschemavalidator_plainyaml.diff
|
|
#patch -d $(python -c 'import os; import linkml_runtime.dumpers as m; print(os.path.dirname(m.__file__))') < patches/rdflib_dumper_canonical.diff
|
|
# Create correct 'order' properties when generating SHACL
|
|
patch -d $(python -c 'import os; import linkml.generators.shaclgen as m; print(os.path.dirname(m.__file__))') < patches/shaclgen_annotations.diff
|
|
# Allow ifabsent handling of uriorcurie type during SHACL generation
|
|
#patch -d $(python -c 'import os; import linkml.generators.shacl.shacl_ifabsent_processor as m; print(os.path.dirname(m.__file__))') < patches/shacl_ifabsent.diff
|
|
# Honor type-designator slots when loading graphs
|
|
patch -d $(python -c 'import os; import linkml_runtime.loaders as m; print(os.path.dirname(m.__file__))') < patches/rdflib_loader_typedesignator.diff
|