Skip to content

Commit

Permalink
dedent and remove bundle placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed May 27, 2022
1 parent d3c7d98 commit 89ce50e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
7 changes: 4 additions & 3 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,10 @@ def main(argv: Sequence[str]) -> None:
if sys.platform == "linux" or sys.platform == "linux2":
print("Installing ZAP OS package dependencies")
shell.run_cmd(
f"sudo apt-get install sudo apt-get install node node-yargs npm\
libpixman-1-dev libcairo2-dev libpango1.0-dev node-pre-gyp libjpeg9-dev libgif\
-dev node-typescript")
textwrap.dedent(""" \
sudo apt-get install sudo apt-get install node node-yargs npm \
libpixman-1-dev libcairo2-dev libpango1.0-dev node-pre-gyp \
libjpeg9-dev libgif-dev node-typescript \""""))
if sys.platform == "darwin":
print("Installation of ZAP OS packages not supported on MacOS")
if sys.platform == "win32":
Expand Down
9 changes: 0 additions & 9 deletions examples/chef/chef_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@
}


def bundle(platform: str):
if platform == 'linux':
pass
if platform == 'esp32':
pass
if platform == 'nrfconnect':
pass


def check_zap_master(repo_base_path: str) -> str:
"""Produces hash of ZAP submodule in branch master"""
git_cmd = ["git", "ls-tree", "master", "third_party/zap/repo"]
Expand Down

0 comments on commit 89ce50e

Please sign in to comment.