mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
feat(ios): implement chat function (#9482)
Co-authored-by: DarkSky <darksky2048@gmail.com>
This commit is contained in:
@@ -6,7 +6,13 @@ set -o pipefail
|
||||
|
||||
# packages/frontend/apps/ios/
|
||||
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
export SCRIPT_PATH=$(pwd)
|
||||
export BUILD_TYPE=canary
|
||||
export PUBLIC_PATH="/"
|
||||
|
||||
cd ../../../../
|
||||
|
||||
if [ ! -d .git ]; then
|
||||
@@ -16,14 +22,19 @@ fi
|
||||
|
||||
echo "[+] setting up the project"
|
||||
|
||||
echo "[*] interacting with yarn..."
|
||||
yarn install
|
||||
BUILD_TYPE=canary PUBLIC_PATH="/" yarn workspace @affine/ios build
|
||||
yarn workspace @affine/ios cap sync
|
||||
yarn affine @affine/ios build
|
||||
yarn affine @affine/ios cap sync
|
||||
|
||||
echo "[*] interacting with rust..."
|
||||
rustup target add aarch64-apple-ios
|
||||
rustup target add aarch64-apple-ios-sim
|
||||
rustup target add aarch64-apple-darwin
|
||||
|
||||
echo "[*] interacting with graphql..."
|
||||
apollo-ios-cli generate --path $SCRIPT_PATH/apollo-codegen-config.json
|
||||
|
||||
echo "[+] setup complete"
|
||||
|
||||
yarn workspace @affine/ios cap open ios
|
||||
yarn affine @affine/ios cap open ios
|
||||
|
||||
Reference in New Issue
Block a user