mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-27 15:56:54 +00:00
config-tools: modify scenario.json in build directory
Copy scenrio.json to build directory, and modify the temporary file to avoid pollution of hypervisor repo. Tracked-On: #7459 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
parent
130266442e
commit
9f08eeb999
@ -1,5 +1,5 @@
|
|||||||
import {loadPyodide} from "/thirdLib/pyodide/pyodide";
|
import {loadPyodide} from "/thirdLib/pyodide/pyodide";
|
||||||
import scenarioJSONSchema from './assets/schema/scenario.json';
|
import scenarioJSONSchema from '../build/assets/scenario.json';
|
||||||
|
|
||||||
window.__dynamic__load__scenario__from__pyodide__ = () => {
|
window.__dynamic__load__scenario__from__pyodide__ = () => {
|
||||||
return JSON.stringify(scenarioJSONSchema)
|
return JSON.stringify(scenarioJSONSchema)
|
||||||
|
@ -389,7 +389,7 @@ def main():
|
|||||||
config_tools = config_tools.parent
|
config_tools = config_tools.parent
|
||||||
|
|
||||||
schema_file = config_tools / 'schema' / 'sliced.xsd'
|
schema_file = config_tools / 'schema' / 'sliced.xsd'
|
||||||
json_schema_file = config_tools / 'configurator' / 'packages' / 'configurator' / 'src' / 'assets' / 'schema' / 'scenario.json'
|
json_schema_file = config_tools / 'configurator' / 'packages' / 'configurator' / 'build' / 'assets' / 'scenario.json'
|
||||||
|
|
||||||
# Convert XSD to JSON Schema
|
# Convert XSD to JSON Schema
|
||||||
# Todo: turn off it
|
# Todo: turn off it
|
||||||
|
Loading…
Reference in New Issue
Block a user