mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Fix missing auto-uploading by default within init command
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
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!
|
||||
-----------------------------------
|
||||
|
||||
@ -9,7 +15,7 @@ Release History
|
||||
* Added support of *Engduino* boards for
|
||||
`atmelavr <http://docs.platformio.org/en/latest/platforms/atmelavr.html#engduino>`__
|
||||
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
|
||||
(`issue #21 <https://github.com/ivankravets/platformio/issues/21>`_)
|
||||
* 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 bug with *Arduino USB* boards (`issue #40 <https://github.com/ivankravets/platformio/issues/40>`_)
|
||||
|
||||
|
||||
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("board = %s" % type_)
|
||||
|
||||
content.append("%stargets = upload" % "# " if disable_auto_uploading
|
||||
else "")
|
||||
content.append("%stargets = upload" % ("# " if disable_auto_uploading
|
||||
else ""))
|
||||
|
||||
with open(project_file, "a") as f:
|
||||
f.write("\n".join(content))
|
||||
|
Reference in New Issue
Block a user