beremiz

make it possible to update XSD schema in project controller after new
target PLC is added or removed.

For example:


...
import targets
targets.targets["PLC"] = {"xsd": os.path.join(self.customBeremizPath, "PLCtarget", xsd),
"class": lambda: PLC_target,
"code": {"plc_PLC_main.c": os.path.join(self.customBeremizPath, "PLCtarget", "plc_PLC_main.c")}
}

from ProjectController import ProjectController, GetProjectControllerXSD
ProjectController.XSD = GetProjectControllerXSD()
image: skvorl/beremiz-requirements
pipelines:
custom: # Pipelines that are triggered manually
checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
- step:
script: # Modify the commands below to build your repository.
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- ./tests/tools/run_python_tests.sh
default:
- step:
script: # Modify the commands below to build your repository.
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- ./tests/tools/run_python_tests.sh