1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-09 21:33:48 +01:00
This commit is contained in:
Otto Winter
2019-05-24 17:20:06 +02:00
parent aa7389432e
commit 422754ed63
5 changed files with 21 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ import threading
sys.path.append(os.path.dirname(__file__))
from helpers import basepath, shlex_quote, get_output, build_compile_commands, \
build_all_include, temp_header_file, walk_files, filter_changed
build_all_include, temp_header_file, git_ls_files, filter_changed
is_py2 = sys.version[0] == '2'
@@ -100,7 +100,7 @@ def main():
build_compile_commands()
files = []
for path in walk_files(basepath):
for path in git_ls_files():
filetypes = ('.cpp',)
ext = os.path.splitext(path)[1]
if ext in filetypes: