mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-06 07:26:56 +00:00
config_tools: fix Windows config_tools package build script
fix error return code of config_tools python package build script in Windows environment Tracked-On: #6691 Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
parent
b288ae9ce7
commit
8ffbcc22ce
@ -1,11 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
python scenario_config/schema_slicer.py || exit /b
|
python scenario_config/schema_slicer.py || exit 1
|
||||||
python scenario_config/jsonschema/converter.py || exit /b
|
python scenario_config/jsonschema/converter.py || exit 1
|
||||||
xmllint --xinclude schema/datachecks.xsd > schema/allchecks.xsd || exit /b
|
xmllint --xinclude schema/datachecks.xsd > schema/allchecks.xsd || exit 1
|
||||||
python -m build || exit /b
|
python -m build || exit 1
|
||||||
rem pip install .\dist\acrn_config_tools-3.0-py3-none-any.whl --force-reinstall
|
rem pip install .\dist\acrn_config_tools-3.0-py3-none-any.whl --force-reinstall
|
||||||
del .\configurator\packages\configurator\thirdLib\acrn_config_tools-3.0-py3-none-any.whl
|
del .\configurator\packages\configurator\thirdLib\acrn_config_tools-3.0-py3-none-any.whl
|
||||||
cd configurator
|
cd configurator
|
||||||
python .\packages\configurator\thirdLib\manager.py install || exit /b
|
python .\packages\configurator\thirdLib\manager.py install || exit 1
|
||||||
yarn
|
yarn || exit 1
|
||||||
echo build and install success
|
echo build and install success
|
||||||
|
Loading…
Reference in New Issue
Block a user