mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Allow PlatformIO to be run within Cygwin environment
This commit is contained in:
@ -7,6 +7,7 @@ PlatformIO 2.0
|
|||||||
2.3.2 (2015-09-??)
|
2.3.2 (2015-09-??)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Allowed PlatformIO to be run within Cygwin environment
|
||||||
* Allowed to use ST-Link uploader for mbed-based projects
|
* Allowed to use ST-Link uploader for mbed-based projects
|
||||||
* Explained how to use ``lib`` directory from the PlatformIO based project in
|
* Explained how to use ``lib`` directory from the PlatformIO based project in
|
||||||
``readme.txt`` which will be automatically generated using
|
``readme.txt`` which will be automatically generated using
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
||||||
# See LICENSE for details.
|
# See LICENSE for details.
|
||||||
|
|
||||||
VERSION = (2, 3, "2.dev2")
|
VERSION = (2, 3, "2.dev3")
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -114,6 +114,8 @@ def singleton(cls):
|
|||||||
def get_systype():
|
def get_systype():
|
||||||
data = uname()
|
data = uname()
|
||||||
systype = data[0]
|
systype = data[0]
|
||||||
|
if "cygwin" in systype.lower():
|
||||||
|
systype = "windows"
|
||||||
if data[4]:
|
if data[4]:
|
||||||
systype += "_" + data[4]
|
systype += "_" + data[4]
|
||||||
return systype.lower()
|
return systype.lower()
|
||||||
|
Reference in New Issue
Block a user