1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-25 12:57:53 +00:00
MarlinFirmware/buildroot/share/PlatformIO/scripts/pioutil.py
2021-10-19 03:58:00 -05:00

9 lines
241 B
Python

#
# buildroot/share/PlatformIO/scripts/pioutil.py
#
# Detect that 'vscode init' is running
def is_vscode_init():
from SCons.Script import COMMAND_LINE_TARGETS
return "idedata" in COMMAND_LINE_TARGETS or "_idedata" in COMMAND_LINE_TARGETS