mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-12 14:40:22 +08:00
feat(ios): add intelligents button (#9281)
Co-authored-by: 砍砍 <git@qaq.wiki>
This commit is contained in:
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/bin/zsh
|
||||
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
# packages/frontend/apps/ios/
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
cd ../../../../
|
||||
|
||||
if [ ! -d .git ]; then
|
||||
echo "[-] .git directory not found at project root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[+] setting up the project"
|
||||
|
||||
yarn install
|
||||
BUILD_TYPE=canary PUBLIC_PATH="/" yarn workspace @affine/ios build
|
||||
yarn workspace @affine/ios cap sync
|
||||
|
||||
rustup target add aarch64-apple-ios
|
||||
rustup target add aarch64-apple-ios-sim
|
||||
rustup target add aarch64-apple-darwin
|
||||
|
||||
echo "[+] setup complete"
|
||||
|
||||
yarn workspace @affine/ios cap open ios
|
||||
Reference in New Issue
Block a user