mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
tools: install.bat: bail out if idf_tools.py call fails
Makes installation errors easier to spot.
This commit is contained in:
parent
9c5284e7b5
commit
f38c1c18a8
@ -10,10 +10,13 @@ set IDF_PATH=%IDF_PATH:~0,-1%
|
||||
|
||||
echo Installing ESP-IDF tools
|
||||
python.exe %IDF_PATH%\tools\idf_tools.py install
|
||||
if %errorlevel% neq 0 goto :end
|
||||
|
||||
echo Setting up Python environment
|
||||
python.exe %IDF_PATH%\tools\idf_tools.py install-python-env
|
||||
if %errorlevel% neq 0 goto :end
|
||||
|
||||
echo All done! You can now run:
|
||||
echo export.bat
|
||||
:: Clean up
|
||||
|
||||
:end
|
||||
|
Loading…
Reference in New Issue
Block a user