Update helper shell scripts
This commit is contained in:
parent
92b3a47fdc
commit
0a7fae9ed5
8
tools/linux/build_apk.sh
Executable file
8
tools/linux/build_apk.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
cd firka
|
||||||
|
|
||||||
|
flutter gen-l10n --template-arb-file app_hu.arb
|
||||||
|
git branch | grep '*' | grep dev >/dev/null \
|
||||||
|
&& flutter build apk --debug --target-platform android-arm,android-arm64,android-x64 \
|
||||||
|
|| flutter build apk --release --tree-shake-icons --split-per-abi --target-platform android-arm,android-arm64
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# move out from tools dir
|
|
||||||
cd ../../firka || exit
|
|
||||||
|
|
||||||
# refresh packages
|
|
||||||
flutter clean
|
|
||||||
flutter pub get
|
|
||||||
|
|
||||||
# build apk
|
|
||||||
flutter build apk --release --tree-shake-icons --split-per-abi --target-platform android-arm,android-arm64
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# move out from tools dir
|
|
||||||
cd ../../firka || exit
|
|
||||||
|
|
||||||
# refresh packages
|
|
||||||
flutter clean
|
|
||||||
flutter pub get
|
|
||||||
|
|
||||||
# check if system is macos
|
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
||||||
# build ipa
|
|
||||||
flutter build ipa --release --tree-shake-icons --no-codesign
|
|
||||||
else
|
|
||||||
echo "Használj macos-t az ipa építéshez."
|
|
||||||
fi
|
|
Loading…
x
Reference in New Issue
Block a user