4483b8aaf0
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
9 lines
227 B
Python
9 lines
227 B
Python
#
|
|
# 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
|