From 34231327b73bf45d93e04f680f17bc604db8266a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 1 Aug 2016 00:19:43 +0300 Subject: [PATCH] Minor fixes --- platformio/__init__.py | 2 +- platformio/commands/run.py | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/platformio/__init__.py b/platformio/__init__.py index 5f0228e9..6ac5d903 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (3, 0, "0.dev14") +VERSION = (3, 0, "0.dev15") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/commands/run.py b/platformio/commands/run.py index 9aaa9912..f29e053e 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -46,14 +46,13 @@ def cli(ctx, environment, target, upload_port, # pylint: disable=R0913,R0914 # clean obsolete .pioenvs dir if not disable_auto_clean: try: - _clean_pioenvs_dir(util.get_pioenvs_dir()) + _clean_pioenvs_dir(util.get_projectpioenvs_dir()) except: # pylint: disable=bare-except click.secho( "Can not remove temporary directory `%s`. Please remove " "`.pioenvs` directory from the project manually to avoid " - "build issues" % util.get_pioenvs_dir(), - fg="yellow" - ) + "build issues" % util.get_projectpioenvs_dir(), + fg="yellow") config = util.load_project_config() env_default = None @@ -105,8 +104,7 @@ class EnvironmentProcessor(object): RENAMED_OPTIONS = { "INSTALL_LIBS": "LIB_INSTALL", "IGNORE_LIBS": "LIB_IGNORE", - "LIB_USE": "LIB_FORCE", - "LIB_DFCYCLIC": "LIB_DEEP_SEARCH" + "LIB_USE": "LIB_FORCE" } def __init__(self, cmd_ctx, name, options, # pylint: disable=R0913