Minor fixes

This commit is contained in:
Ivan Kravets
2016-08-01 00:19:43 +03:00
parent e49994e205
commit 34231327b7
2 changed files with 5 additions and 7 deletions

View File

@ -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"

View File

@ -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