1 Star 1 Fork 0

混子杨/Grbl_Esp32

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build-all.py 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
矛盾聚合体 提交于 2021-04-25 21:22 . 2021年4月25日21点22分
#!/usr/bin/env python
# Note: If you experience random errors running this script within
# VSCode, try running it from a regular terminal window. Some VSCode
# extensions seem to randomly interfere with the files that platformio
# uses during compilation.
# Compile Grbl_ESP32 for each of the machines defined in Machines/ .
# Add-on files are built on top of a single base.
# This is useful for automated testing, to make sure you haven't broken something
# The output is filtered so that the only lines you see are a single
# success or failure line for each build, plus any preceding lines that
# contain the word "error". If you need to see everything, for example to
# see the details of an errored build, include -v on the command line.
from builder import buildMachine
import os, sys
cmd = ['platformio','run']
verbose = '-v' in sys.argv
numErrors = 0
for name in os.listdir('Grbl_Esp32/src/Machines'):
exitCode = buildMachine(name, verbose=verbose)
if exitCode != 0:
numErrors += 1
sys.exit(numErrors)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hzstudio/Grbl_Esp32.git
[email protected]:hzstudio/Grbl_Esp32.git
hzstudio
Grbl_Esp32
Grbl_Esp32
master

搜索帮助