2021-10-19 07:49:35 +00:00
|
|
|
#
|
2021-11-04 10:28:42 +00:00
|
|
|
# pioutil.py
|
2021-10-19 07:49:35 +00:00
|
|
|
#
|
|
|
|
|
2021-11-04 10:28:42 +00:00
|
|
|
# Make sure 'vscode init' is not the current command
|
|
|
|
def is_pio_build():
|
2021-10-19 07:49:35 +00:00
|
|
|
from SCons.Script import COMMAND_LINE_TARGETS
|
2021-11-04 10:28:42 +00:00
|
|
|
return "idedata" not in COMMAND_LINE_TARGETS and "_idedata" not in COMMAND_LINE_TARGETS
|