Create hello-platform for macOS (#10)
Co-authored-by: Михаил Капелько <kornerr@gmail.com>
This commit is contained in:
1 parent
8913022044
commit
1aa218d0bb
186 files changed
+519
-7
No files matched your search
Executable
+14
@@ -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
|
||||
Reference in new issue
Block a user