Update Brewfile format

This commit is contained in:
pagedown
2022-02-09 21:35:22 +08:00
parent d3bc6001d8
commit 8ebd514251
3 changed files with 9 additions and 9 deletions

View File

@@ -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')

View File

@@ -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"

View File

@@ -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