Amba-Agent-App/Makefile
2026-01-16 00:22:35 +03:00

49 lines
1.2 KiB
Makefile

# ===== Android Targets =====
run:
ANDROID_SERIAL=RF8T90SNT7W npx expo start --dev-client --clear --android
run_dev:
ANDROID_SERIAL=RF8T90SNT7W npx expo run:android
run_reinstall:
ANDROID_SERIAL=RF8T90SNT7W npx expo run:android
ANDROID_SERIAL=RF8T90SNT7W npx expo start --dev-client --clear --android
regen_android:
npx expo prebuild --platform android --clean
# ===== iOS Targets =====
run_ios:
npx expo start --dev-client --clear --ios
run_dev_ios:
npx expo run:ios
run_reinstall_ios:
npx expo run:ios
npx expo start --dev-client --clear --ios
regen_ios:
npx expo prebuild --platform ios --clean
# ===== Web Targets =====
# Run local web development server
web:
npx expo start --web --clear
# Build static web export for production (outputs to dist/)
web_build:
npx expo export --platform web
# Serve the built web app locally for testing (requires npx serve)
web_serve: web_build
npx serve dist
# Clean web build artifacts
web_clean:
rm -rf dist
# Deploy to Firebase Hosting (requires firebase CLI: npm i -g firebase-tools)
# Note: Run 'firebase init hosting' first and set public directory to 'dist'
web_deploy_firebase: web_build
firebase deploy --only hosting