mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Fix a bug with Project Initialization in PlatformIO IDE
This commit is contained in:
@ -4,6 +4,11 @@ Release Notes
|
|||||||
PlatformIO 2.0
|
PlatformIO 2.0
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
2.8.1 (2016-01-29)
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Fixed a bug with Project Initialization in PlatformIO IDE
|
||||||
|
|
||||||
2.8.0 (2016-01-29)
|
2.8.0 (2016-01-29)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ def BuildProgram(env):
|
|||||||
"$BUILDSRC_DIR", "$PROJECTSRC_DIR", duplicate=False,
|
"$BUILDSRC_DIR", "$PROJECTSRC_DIR", duplicate=False,
|
||||||
src_filter=getenv("PLATFORMIO_SRC_FILTER", env.get("SRC_FILTER")))
|
src_filter=getenv("PLATFORMIO_SRC_FILTER", env.get("SRC_FILTER")))
|
||||||
|
|
||||||
if not sources:
|
if not sources and not COMMAND_LINE_TARGETS:
|
||||||
env.Exit(
|
env.Exit(
|
||||||
"Error: Nothing to build. Please put your source code files "
|
"Error: Nothing to build. Please put your source code files "
|
||||||
"to '%s' folder" % env.subst("$PROJECTSRC_DIR"))
|
"to '%s' folder" % env.subst("$PROJECTSRC_DIR"))
|
||||||
|
Reference in New Issue
Block a user