Fix bug with "env_default" when "pio run -e" is used

This commit is contained in:
Ivan Kravets
2016-05-04 15:10:08 +03:00
parent eee6685c59
commit 3edc336f62
5 changed files with 12 additions and 6 deletions

View File

@ -4,6 +4,11 @@ Release Notes
PlatformIO 2.0
--------------
2.9.2 (2016-??-??)
~~~~~~~~~~~~~~~~~~
* Fixed bug with ``env_default`` when ``pio run -e`` is used
2.9.1 (2016-04-30)
~~~~~~~~~~~~~~~~~~

View File

@ -62,9 +62,9 @@ IDE integration. Arduino and MBED compatible. Ready for Cloud compiling.
platforms and frameworks; learn via examples; be up-to-date with the latest
version.
*Atmel AVR & SAM, Espressif, Freescale Kinetis, Nordic nRF51, NXP LPC,
Silicon Labs EFM32, ST STM32, TI MSP430 & Tiva, Teensy, Arduino, mbed,
libOpenCM3, etc.*
*Atmel AVR & SAM, Espressif, Freescale Kinetis, Intel ARC32, Lattice iCE40,
Microchip PIC32, Nordic nRF51, NXP LPC, Silicon Labs EFM32, ST STM32,
TI MSP430 & Tiva, Teensy, Arduino, mbed, libOpenCM3, etc.*
.. image:: https://raw.githubusercontent.com/platformio/platformio/develop/docs/_static/platformio-demo-wiring.gif
:target: http://platformio.org

View File

@ -14,7 +14,7 @@
import sys
VERSION = (2, 9, 1)
VERSION = (2, 9, "2.dev0")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -81,7 +81,8 @@ def cli(ctx, environment, target, upload_port, # pylint: disable=R0913,R0914
envname = section[4:]
if ((environment and envname not in environment) or
(env_default and envname not in env_default)):
(not environment and env_default and
envname not in env_default)):
# echo("Skipped %s environment" % style(envname, fg="yellow"))
continue