Create hello-platform for macOS (#10)

Co-authored-by: Михаил Капелько <kornerr@gmail.com>
This commit is contained in:
kornerr authored and Михаил Капелько committed 2026-11-01 05:01:36 +01:00
1 parent 8913022044
commit 1aa218d0bb
186 files changed
+519 -7

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash -e
TARGET=$1
STEP=$((STEP+1))
echo -e "\n> > > > Step №$STEP. Build '$TARGET' for macOS"
if [[ -z "${RAYLIB_PREFIX:-}" ]]; then
RAYLIB_PREFIX="$(HOMEBREW_NO_AUTO_UPDATE=1 brew --prefix raylib 2>/dev/null)"
fi
export RAYLIB_PREFIX
echo "Raylib: $RAYLIB_PREFIX"
cd $SDIR/../$TARGET/ver-mac
swift build