mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-12 01:07:50 -06:00
🔨 Update 'pio vscode init' detection
This commit is contained in:
parent
3a77894efd
commit
c91451d215
4 changed files with 30 additions and 13 deletions
|
@ -2,7 +2,12 @@
|
|||
# common-dependencies.py
|
||||
# Convenience script to check dependencies and add libs and sources for Marlin Enabled Features
|
||||
#
|
||||
import subprocess,os,re
|
||||
import subprocess,os,re,pioutil
|
||||
Import("env")
|
||||
|
||||
# Detect that 'vscode init' is running
|
||||
if pioutil.is_vscode_init():
|
||||
env.Exit(0)
|
||||
|
||||
PIO_VERSION_MIN = (5, 0, 3)
|
||||
try:
|
||||
|
@ -31,8 +36,6 @@ except:
|
|||
from platformio.package.meta import PackageSpec
|
||||
from platformio.project.config import ProjectConfig
|
||||
|
||||
Import("env")
|
||||
|
||||
#print(env.Dump())
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue