3DPrinters/AnetA8/Marlin/Marlin-2.0.9.3/buildroot/share/PlatformIO/scripts/pioutil.py

9 lines
227 B
Python
Raw Normal View History

2022-02-02 17:56:23 +01:00
#
# pioutil.py
#
# Make sure 'vscode init' is not the current command
def is_pio_build():
from SCons.Script import COMMAND_LINE_TARGETS
return "idedata" not in COMMAND_LINE_TARGETS and "_idedata" not in COMMAND_LINE_TARGETS