You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
#
|
|
# pioutil.py
|
|
#
|
|
|
|
# Make sure 'vscode init' is not the current command
|
|
def is_pio_build():
|
|
from SCons.Script import DefaultEnvironment
|
|
env = DefaultEnvironment()
|
|
return not env.IsIntegrationDump()
|
|
|
|
def get_pio_version():
|
|
from platformio import util
|
|
return util.pioversion_to_intstr()
|
|
|