mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix missing auto-uploading by default within init command
This commit is contained in:
@ -1,6 +1,12 @@
|
|||||||
Release History
|
Release History
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
0.10.1 (?)
|
||||||
|
----------
|
||||||
|
|
||||||
|
* Fixed missing auto-uploading by default within `platformio init <http://docs.platformio.org/en/latest/userguide/cmd_init.html>`__
|
||||||
|
command
|
||||||
|
|
||||||
0.10.0 (2015-01-01) Happy New Year!
|
0.10.0 (2015-01-01) Happy New Year!
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
@ -9,7 +15,7 @@ Release History
|
|||||||
* Added support of *Engduino* boards for
|
* Added support of *Engduino* boards for
|
||||||
`atmelavr <http://docs.platformio.org/en/latest/platforms/atmelavr.html#engduino>`__
|
`atmelavr <http://docs.platformio.org/en/latest/platforms/atmelavr.html#engduino>`__
|
||||||
platform (`issue #38 <https://github.com/ivankravets/platformio/issues/38>`_)
|
platform (`issue #38 <https://github.com/ivankravets/platformio/issues/38>`_)
|
||||||
* Added ``--board`` option to `platformio init <http://docs.platformio.org/en/latest/userguide/cmd_init.html>`_
|
* Added ``--board`` option to `platformio init <http://docs.platformio.org/en/latest/userguide/cmd_init.html>`__
|
||||||
command which allows to initialise project with the specified embedded boards
|
command which allows to initialise project with the specified embedded boards
|
||||||
(`issue #21 <https://github.com/ivankravets/platformio/issues/21>`_)
|
(`issue #21 <https://github.com/ivankravets/platformio/issues/21>`_)
|
||||||
* Added `example with uploading firmware <http://docs.platformio.org/en/latest/projectconf.html#examples>`_
|
* Added `example with uploading firmware <http://docs.platformio.org/en/latest/projectconf.html#examples>`_
|
||||||
@ -22,7 +28,6 @@ Release History
|
|||||||
* Fixed urllib3's *SSL* warning under Python <= 2.7.2 (`issue #39 <https://github.com/ivankravets/platformio/issues/39>`_)
|
* Fixed urllib3's *SSL* warning under Python <= 2.7.2 (`issue #39 <https://github.com/ivankravets/platformio/issues/39>`_)
|
||||||
* Fixed bug with *Arduino USB* boards (`issue #40 <https://github.com/ivankravets/platformio/issues/40>`_)
|
* Fixed bug with *Arduino USB* boards (`issue #40 <https://github.com/ivankravets/platformio/issues/40>`_)
|
||||||
|
|
||||||
|
|
||||||
0.9.2 (2014-12-10)
|
0.9.2 (2014-12-10)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -89,8 +89,8 @@ def fill_project_envs(project_file, board_types, disable_auto_uploading):
|
|||||||
content.append("framework = %s" % framework)
|
content.append("framework = %s" % framework)
|
||||||
content.append("board = %s" % type_)
|
content.append("board = %s" % type_)
|
||||||
|
|
||||||
content.append("%stargets = upload" % "# " if disable_auto_uploading
|
content.append("%stargets = upload" % ("# " if disable_auto_uploading
|
||||||
else "")
|
else ""))
|
||||||
|
|
||||||
with open(project_file, "a") as f:
|
with open(project_file, "a") as f:
|
||||||
f.write("\n".join(content))
|
f.write("\n".join(content))
|
||||||
|
Reference in New Issue
Block a user