skip homekit example

follow up to #356
This commit is contained in:
hathach committed 2019-10-15 16:45:15 +07:00
1 parent ffab740860
commit 46b9269b9b
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ def build_examples(variant):
for sketch in glob.iglob('libraries/**/*.ino', recursive=True):
start_time = time.monotonic()
if os.path.exists(os.path.dirname(sketch) + '/.skip.' + variant):
if os.path.exists(os.path.dirname(sketch) + '/.skip') or os.path.exists(os.path.dirname(sketch) + '/.skip.' + variant):
success = "skipped"
else:
build_result = subprocess.run("arduino --verify {}".format(sketch), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)