From 41f2adc1f6a72e9ad94195f90c1bc35c1fc212f6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 29 Jan 2016 15:49:31 +0200 Subject: [PATCH 1/2] Fix a bug with Project Initialization in PlatformIO IDE --- HISTORY.rst | 5 +++++ platformio/builder/tools/platformio.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 7741e375..ffc9b7f0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/builder/tools/platformio.py b/platformio/builder/tools/platformio.py index c526f2e3..b1401944 100644 --- a/platformio/builder/tools/platformio.py +++ b/platformio/builder/tools/platformio.py @@ -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")) From edf19a8cac61813fcc40056af693e9796bcad9c1 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 29 Jan 2016 15:50:17 +0200 Subject: [PATCH 2/2] Version bump to 2.8.1 --- platformio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/__init__.py b/platformio/__init__.py index 72df4174..94a227fb 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (2, 8, 0) +VERSION = (2, 8, 1) __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio"