Skip to content

Commit

Permalink
OS limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Jun 19, 2024
1 parent b46fffe commit ddc2cf9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-aarch64-apple-ios-debug.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/sh

if [ "$(uname)" != "Darwin" ]; then
echo "This script is for macOS only."
exit 1
fi

echo "Setting up the rust environment..."
rustup target add aarch64-apple-ios
cargo install cbindgen
Expand Down
5 changes: 5 additions & 0 deletions build-aarch64-apple-ios.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/sh

if [ "$(uname)" != "Darwin" ]; then
echo "This script is for macOS only."
exit 1
fi

echo "Setting up the rust environment..."
rustup target add aarch64-apple-ios
cargo install cbindgen
Expand Down
5 changes: 5 additions & 0 deletions build-android.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/bash

if [ "$(uname)" != "Linux" ]; then
echo "This script is for Linux only"
exit 1
fi

work_dir=$(pwd)

ANDROID_API_VERSION=21
Expand Down
5 changes: 5 additions & 0 deletions build-apple.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#! /bin/sh

if [ "$(uname)" != "Darwin" ]; then
echo "This script is for macOS only."
exit 1
fi

echo "Setting up the rust environment..."
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios x86_64-apple-darwin aarch64-apple-darwin
cargo install cbindgen
Expand Down

0 comments on commit ddc2cf9

Please sign in to comment.