Display a textured cube with Raylib (#2)
This commit was merged in pull request #2.
This commit is contained in:
1 parent
184454cf59
commit
1515a9483b
13 files changed
+982
-12
No files matched your search
@@ -3,5 +3,15 @@
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Build for macOS"
|
||||
|
||||
# raylib is required for the 3D scene (used by the RaylibBridge target).
|
||||
if [[ -z "${RAYLIB_PREFIX:-}" ]] && command -v brew >/dev/null 2>&1; then
|
||||
RAYLIB_PREFIX="$(HOMEBREW_NO_AUTO_UPDATE=1 brew --prefix raylib 2>/dev/null || true)"
|
||||
fi
|
||||
if [[ -z "${RAYLIB_PREFIX:-}" ]]; then
|
||||
RAYLIB_PREFIX=/opt/homebrew
|
||||
fi
|
||||
export RAYLIB_PREFIX
|
||||
echo "> > > > raylib: $RAYLIB_PREFIX"
|
||||
|
||||
cd $SDIR/../game/ver-mac
|
||||
swift build # -Xswiftc -swift-version -Xswiftc 6
|
||||
Reference in new issue
Block a user