forked from platformio/platformio-core
Fix issue with removing temporary file while converting *.ino to *.cpp
This commit is contained in:
@@ -8,6 +8,8 @@ PlatformIO 2.0
|
|||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* Better integration of PlatformIO Builder with PlatformIO IDE Linter
|
* Better integration of PlatformIO Builder with PlatformIO IDE Linter
|
||||||
|
* Fixed issue with removing temporary file while converting ``*.ino`` to
|
||||||
|
``*.cpp``
|
||||||
|
|
||||||
2.8.2 (2016-01-29)
|
2.8.2 (2016-01-29)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@@ -33,7 +33,7 @@ PlatformIO IDE is the next generation integrated development environment for IoT
|
|||||||
* Built-in Terminal with :ref:`PlatformIO CLI <userguide>` tool (``pio``, ``platformio``)
|
* Built-in Terminal with :ref:`PlatformIO CLI <userguide>` tool (``pio``, ``platformio``)
|
||||||
|
|
||||||
PlatformIO IDE is based on GitHub's `Atom <https://atom.io>`_ source
|
PlatformIO IDE is based on GitHub's `Atom <https://atom.io>`_ source
|
||||||
code editor that's modern, approachable, yet hackable to the core—a tool you
|
code editor that's modern, approachable, yet hackable to the core; a tool you
|
||||||
can customize to do anything but also use productively without ever touching a
|
can customize to do anything but also use productively without ever touching a
|
||||||
config file.
|
config file.
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = (2, 8, "3.dev0")
|
VERSION = (2, 8, "3.dev1")
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@@ -116,8 +116,10 @@ def ConvertInoToCpp(env):
|
|||||||
def delete_tmpcpp_file(file_):
|
def delete_tmpcpp_file(file_):
|
||||||
try:
|
try:
|
||||||
remove(file_)
|
remove(file_)
|
||||||
except WindowsError: # pylint: disable=undefined-variable
|
except: # pylint: disable=bare-except
|
||||||
pass
|
if isfile(file_):
|
||||||
|
print ("Warning: Could not remove temporary file '%s'. "
|
||||||
|
"Please remove it manually." % file_)
|
||||||
|
|
||||||
ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) +
|
ino_nodes = (env.Glob(join("$PROJECTSRC_DIR", "*.ino")) +
|
||||||
env.Glob(join("$PROJECTSRC_DIR", "*.pde")))
|
env.Glob(join("$PROJECTSRC_DIR", "*.pde")))
|
||||||
|
Reference in New Issue
Block a user