freezer/build.sh

15 lines
241 B
Bash

echo "1. Linux"
echo "2. Android"
echo ""
echo -n "Target? "
read target
case "$target" in
1) target="linux";;
2) target="android --split-per-abi"
esac
set -x
flutter pub get
flutter pub run build_runner build
flutter build $target