erplibre/mobile/compile_and_run.sh

15 lines
302 B
Bash
Raw Permalink Normal View History

2025-10-01 03:01:00 -04:00
#!/usr/bin/env bash
if [[ ! -d "./mobile/erplibre_home_mobile" ]]; then
2025-10-01 03:01:00 -04:00
echo "Please, run installation ./mobile/install_mobile_dev.sh before run this script ./mobile/compile_and_run.sh"
exit 1
fi
cd mobile/erplibre_home_mobile
2025-10-01 03:01:00 -04:00
npm install
npm run build && npx cap sync
npx cap run android
cd -