Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed May 31, 2022
1 parent 27656a5 commit 8692341
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ def main(argv: Sequence[str]) -> None:
flush_print(f"Generating files in {_CHEF_ZZZ_ROOT} for all devices")
for device_name in _DEVICE_LIST:
flush_print(f"Generating files for {device_name}")
device_out_dir = os.path.join(_CHEF_ZZZ_ROOT, device_name)
os.mkdir(device_out_dir)
device_out_dir = os.path.join(device_out_dir, "zap-generated")
os.mkdir(device_out_dir)
device_out_dir = os.path.join(_CHEF_ZZZ_ROOT,
device_name,
"zap-generated")
os.makedirs(device_out_dir)
shell.run_cmd(textwrap.dedent(f"""\
{_REPO_BASE_PATH}/scripts/tools/zap/generate.py \
{_CHEF_SCRIPT_PATH}/devices/{device_name}.zap -o {device_out_dir}"""))
Expand Down
8 changes: 4 additions & 4 deletions examples/chef/cimanifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devices": {
"lighting-app": "81a1262e611fab1a71ac4129b91cec0f"
},
"zap_commit": "TEMP DISABLED"
"devices": {
"lighting-app": "81a1262e611fab1a71ac4129b91cec0f"
},
"zap_commit": "TEMP DISABLED"
}

0 comments on commit 8692341

Please sign in to comment.