mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-10-24 23:45:05 -07:00
18 lines
469 B
Bash
18 lines
469 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
PACKAGE_MANAGER="${1:?Usage: setup_deps.sh <apt|brew>}"
|
|
|
|
case "$PACKAGE_MANAGER" in
|
|
apt)
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y --no-install-recommends libclang-18-dev ccache ninja-build libwayland-dev libxkbcommon-dev xorg-dev mold
|
|
;;
|
|
brew)
|
|
brew install ccache ninja
|
|
;;
|
|
*)
|
|
echo "Unsupported package manager: $PACKAGE_MANAGER" >&2
|
|
exit 1
|
|
;;
|
|
esac |