Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
cj0x39e committed May 8, 2024
1 parent 1bf74ad commit 50adccd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ APK_FILE=./build/app/outputs/flutter-apk/app-release.apk

for i in {1..4}; do
dart run build_tools/replace_book.dart --book-name nce$i
flutter build apk --dart-define="BOOK_NAME=nce$i" --no-tree-shake-icons
mkdir -p ./dist
cp -f "$APK_FILE" "./dist/english_drill_nce$i_$VERSION.apk" && echo "$APK_FILE"
flutter build apk --dart-define="BOOK_NAME=nce$i" --no-tree-shake-icons --no-pub
cp -f "$APK_FILE" "./dist/english_drill(nce$i).$VERSION.apk" && echo "$APK_FILE"
sleep 20
done

0 comments on commit 50adccd

Please sign in to comment.