config_tools: change JSON Schema source file

Use the JSON Schema convered while building.
The file will be updated in time.

Tracked-On: #7459
Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
Yuanyuan Zhao 2022-05-12 15:45:40 +08:00 committed by acrnsi-robot
parent 38c73cc6e2
commit 27222e1583
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
graft data
graft schema
graft launch_config
include configurator/src/assets/schema/scenario.json
include configurator/build/assets/scenario.json

View File

@ -30,7 +30,7 @@ nuc11_folder = LazyPath(config_tools_dir / 'data' / 'nuc11tnbi5')
# file define
nuc11_board = file_text(nuc11_folder / 'nuc11tnbi5.xml')
nuc11_scenario = file_text(nuc11_folder / 'shared_launch_6user_vm.xml')
scenario_json_schema = file_text(configurator_dir / 'src' / 'assets' / 'schema' / 'scenario.json')
scenario_json_schema = file_text(configurator_dir / 'build' / 'assets' / 'scenario.json')
IS_WEB = sys.platform == 'emscripten'

View File

@ -29,4 +29,4 @@ where = .
schema = *, */*, */*/*, */*/*/*, */*/*/*/*
launch_config = *, */*, */*/*, */*/*/*, */*/*/*/*
data = *, */*, */*/*, */*/*/*, */*/*/*/*
configurator = packages/configurator/src/assets/schema/scenario.json
configurator = packages/configurator/build/assets/scenario.json