forked from platformio/platformio-core
Minor fixes
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = (3, 0, "0.dev14")
|
VERSION = (3, 0, "0.dev15")
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -46,14 +46,13 @@ def cli(ctx, environment, target, upload_port, # pylint: disable=R0913,R0914
|
|||||||
# clean obsolete .pioenvs dir
|
# clean obsolete .pioenvs dir
|
||||||
if not disable_auto_clean:
|
if not disable_auto_clean:
|
||||||
try:
|
try:
|
||||||
_clean_pioenvs_dir(util.get_pioenvs_dir())
|
_clean_pioenvs_dir(util.get_projectpioenvs_dir())
|
||||||
except: # pylint: disable=bare-except
|
except: # pylint: disable=bare-except
|
||||||
click.secho(
|
click.secho(
|
||||||
"Can not remove temporary directory `%s`. Please remove "
|
"Can not remove temporary directory `%s`. Please remove "
|
||||||
"`.pioenvs` directory from the project manually to avoid "
|
"`.pioenvs` directory from the project manually to avoid "
|
||||||
"build issues" % util.get_pioenvs_dir(),
|
"build issues" % util.get_projectpioenvs_dir(),
|
||||||
fg="yellow"
|
fg="yellow")
|
||||||
)
|
|
||||||
|
|
||||||
config = util.load_project_config()
|
config = util.load_project_config()
|
||||||
env_default = None
|
env_default = None
|
||||||
@ -105,8 +104,7 @@ class EnvironmentProcessor(object):
|
|||||||
RENAMED_OPTIONS = {
|
RENAMED_OPTIONS = {
|
||||||
"INSTALL_LIBS": "LIB_INSTALL",
|
"INSTALL_LIBS": "LIB_INSTALL",
|
||||||
"IGNORE_LIBS": "LIB_IGNORE",
|
"IGNORE_LIBS": "LIB_IGNORE",
|
||||||
"LIB_USE": "LIB_FORCE",
|
"LIB_USE": "LIB_FORCE"
|
||||||
"LIB_DFCYCLIC": "LIB_DEEP_SEARCH"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, cmd_ctx, name, options, # pylint: disable=R0913
|
def __init__(self, cmd_ctx, name, options, # pylint: disable=R0913
|
||||||
|
Reference in New Issue
Block a user