forked from platformio/platformio-core
Fixed an issue "Import of non-existent variable 'projenv''" // Resolve #3315
This commit is contained in:
@ -21,6 +21,7 @@ PlatformIO Core 4.0
|
|||||||
* Fixed an issue with "start-group/end-group" linker flags on Native development platform (`issue #3282 <https://github.com/platformio/platformio-core/issues/3282>`_)
|
* Fixed an issue with "start-group/end-group" linker flags on Native development platform (`issue #3282 <https://github.com/platformio/platformio-core/issues/3282>`_)
|
||||||
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__
|
* Fixed default PIO Unified Debugger configuration for `J-Link probe <http://docs.platformio.org/page/plus/debug-tools/jlink.html>`__
|
||||||
* Fixed an issue with LDF when header files not found if "libdeps_dir" is within a subdirectory of "lib_extra_dirs" (`issue #3311 <https://github.com/platformio/platformio-core/issues/3311>`_)
|
* Fixed an issue with LDF when header files not found if "libdeps_dir" is within a subdirectory of "lib_extra_dirs" (`issue #3311 <https://github.com/platformio/platformio-core/issues/3311>`_)
|
||||||
|
* Fixed an issue "Import of non-existent variable 'projenv''" when development platform does not call "env.BuildProgram()" (`issue #3315 <https://github.com/platformio/platformio-core/issues/3315>`_)
|
||||||
|
|
||||||
4.1.0 (2019-11-07)
|
4.1.0 (2019-11-07)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
2
docs
2
docs
Submodule docs updated: b4e4f10e4d...f53767e918
@ -188,7 +188,10 @@ if "envdump" in COMMAND_LINE_TARGETS:
|
|||||||
env.Exit(0)
|
env.Exit(0)
|
||||||
|
|
||||||
if "idedata" in COMMAND_LINE_TARGETS:
|
if "idedata" in COMMAND_LINE_TARGETS:
|
||||||
Import("projenv")
|
try:
|
||||||
|
Import("projenv")
|
||||||
|
except: # pylint: disable=bare-except
|
||||||
|
projenv = env
|
||||||
click.echo(
|
click.echo(
|
||||||
"\n%s\n"
|
"\n%s\n"
|
||||||
% dump_json_to_unicode(
|
% dump_json_to_unicode(
|
||||||
|
Reference in New Issue
Block a user