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...') print('Installing kitty dependencies...')
sys.stdout.flush() sys.stdout.flush()
if is_macos: 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) run('brew', 'install', *items)
else: else:
run('sudo apt-get update') run('sudo apt-get update')

View File

@@ -1,7 +1,7 @@
pkg-config brew "pkg-config"
zlib brew "zlib"
librsync brew "librsync"
python brew "python"
imagemagick brew "imagemagick"
harfbuzz brew "harfbuzz"
sphinx-doc 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``. ``python -m pip -r docs/requirements.txt``.
This applies to creating packages for |kitty| for macOS package managers such as 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 Changing defaults for packages