From 8ebd5142517f7e5c946239ef1e3cc8f82f010f2e Mon Sep 17 00:00:00 2001 From: pagedown Date: Wed, 9 Feb 2022 21:35:22 +0800 Subject: [PATCH] Update Brewfile format --- .github/workflows/ci.py | 2 +- Brewfile | 14 +++++++------- docs/build.rst | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.py b/.github/workflows/ci.py index 62f12e4e5..6bd690980 100644 --- a/.github/workflows/ci.py +++ b/.github/workflows/ci.py @@ -30,7 +30,7 @@ def install_deps(): print('Installing kitty dependencies...') sys.stdout.flush() if is_macos: - items = (x.strip() for x in open('Brewfile').readlines() if not x.startswith('#')) + items = (x.split()[1].strip('"') for x in open('Brewfile').readlines() if x.strip().startswith('brew ')) run('brew', 'install', *items) else: run('sudo apt-get update') diff --git a/Brewfile b/Brewfile index c43be8725..a31693338 100644 --- a/Brewfile +++ b/Brewfile @@ -1,7 +1,7 @@ -pkg-config -zlib -librsync -python -imagemagick -harfbuzz -sphinx-doc +brew "pkg-config" +brew "zlib" +brew "librsync" +brew "python" +brew "imagemagick" +brew "harfbuzz" +brew "sphinx-doc" diff --git a/docs/build.rst b/docs/build.rst index 0470fb89e..5c00ea0e4 100644 --- a/docs/build.rst +++ b/docs/build.rst @@ -173,7 +173,7 @@ servers into which they ssh, without needing to install all of |kitty|. ``python -m pip -r docs/requirements.txt``. This applies to creating packages for |kitty| for macOS package managers such as -brew or MacPorts as well. +Homebrew or MacPorts as well. Changing defaults for packages