1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/EspressifSystems-esp-idf

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
export.fish 966
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Marek Fiala Отправлено 19.12.2024 17:05 bfaceab
# This script should be sourced, not executed.
# `idf_tools.py export --deactivate` create statement, with keyword unset, but fish shell support only `set --erase variable`
function unset
set --erase $argv
end
# Emergency backup option to use previous export.fish (export_legacy.fish) if the new export approach fails.
# To use it, set environmental variable like: export ESP_IDF_LEGACY_EXPORT=1
if test -n "$ESP_IDF_LEGACY_EXPORT"
source tools/legacy_exports/export_legacy.fish
exit $status
end
set idf_path (dirname (realpath (status -f)))
if not test -f "$idf_path/tools/idf.py"
or not test -f "$idf_path/tools/idf_tools.py"
or not test -f "$idf_path/tools/activate.py"
echo "Could not detect IDF_PATH. Please navigate to your ESP-IDF directory and run:"
echo ". ./export.fish"
set -e idf_path
exit 1
end
source "$idf_path"/tools/detect_python.fish
eval ("$ESP_PYTHON" "$idf_path"/tools/activate.py --export)
set -e idf_path

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/EspressifSystems-esp-idf.git
git@api.gitlife.ru:oschina-mirror/EspressifSystems-esp-idf.git
oschina-mirror
EspressifSystems-esp-idf
EspressifSystems-esp-idf
master