1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-23 05:32:22 +01:00

Move default build path to .esphome directory (#2586)

This commit is contained in:
Otto Winter
2021-10-23 12:38:57 +02:00
committed by GitHub
parent d85b7a6bd0
commit 1a6a063e04
3 changed files with 6 additions and 75 deletions

View File

@@ -165,7 +165,7 @@ def preload_core_config(config, result):
CORE.data[KEY_CORE] = {}
if CONF_BUILD_PATH not in conf:
conf[CONF_BUILD_PATH] = CORE.name
conf[CONF_BUILD_PATH] = f".esphome/build/{CORE.name}"
CORE.build_path = CORE.relative_config_path(conf[CONF_BUILD_PATH])
has_oldstyle = CONF_PLATFORM in conf