config_tools: let windows build scripts auto exit when an error occurs
let windows build scripts auto exit when an error occurs
@echo off
-python scenario_config/schema_slicer.py
-python scenario_config/jsonschema/converter.py
-xmllint --xinclude schema/datachecks.xsd > schema/allchecks.xsd
-python -m build
+python scenario_config/schema_slicer.py || exit /b
+python scenario_config/jsonschema/converter.py || exit /b
+xmllint --xinclude schema/datachecks.xsd > schema/allchecks.xsd || exit /b
+python -m build || exit /b
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
-python .\configurator\packages\configurator\thirdLib\manager.py install
+python .\configurator\packages\configurator\thirdLib\manager.py install || exit /b
echo build and install success
