mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 23:36:29 +00:00

Manifest and module loading has been refactored Provider modules now must implement validate_manifest like plugins do Simplified loading of manifests
10 lines
296 B
Python
10 lines
296 B
Python
__all__ = ['Phase', 'Task', 'main']
|
|
from phase import Phase
|
|
from task import Task
|
|
from main import main
|
|
|
|
|
|
def validate_manifest(data, validator, error):
|
|
import os.path
|
|
schema_path = os.path.normpath(os.path.join(os.path.dirname(__file__), 'manifest-schema.json'))
|
|
validator(data, schema_path)
|