Skip to content

Commit

Permalink
meta: Added brew checks, lld, pkgconfig and reordered packages (#8)
Browse files Browse the repository at this point in the history
* added brew checks, lld, pkgconfig and reordered packages

* Added brew check
  • Loading branch information
akinimaginable authored and sleepy-monax committed Nov 12, 2024
1 parent 0621ac8 commit 61393d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion meta/scripts/setup-darwin.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/usr/bin/env bash

brew install nasm llvm sdl2 python3 ninja libmagic
if ! command -v brew &> /dev/null
then
echo "Homebrew is not installed. Please install Homebrew first."
echo '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'
exit 1
fi

brew install libmagic lld llvm nasm ninja pkg-config python3 sdl2

0 comments on commit 61393d0

Please sign in to comment.