Merge branch 'release/v2.8.1'

This commit is contained in:
Ivan Kravets
2016-01-29 15:50:33 +02:00
3 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,11 @@ Release Notes
PlatformIO 2.0
--------------
2.8.1 (2016-01-29)
~~~~~~~~~~~~~~~~~~
* Fixed a bug with Project Initialization in PlatformIO IDE
2.8.0 (2016-01-29)
~~~~~~~~~~~~~~~~~~

View File

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

View File

@ -87,7 +87,7 @@ def BuildProgram(env):
"$BUILDSRC_DIR", "$PROJECTSRC_DIR", duplicate=False,
src_filter=getenv("PLATFORMIO_SRC_FILTER", env.get("SRC_FILTER")))
if not sources:
if not sources and not COMMAND_LINE_TARGETS:
env.Exit(
"Error: Nothing to build. Please put your source code files "
"to '%s' folder" % env.subst("$PROJECTSRC_DIR"))