Skip to content

Commit dcd1d29

Browse files
authored
Updates build script (#10)
* Warns if input build directory is missing * Calls (previously missed) function createOutputBuildAPK
1 parent 6040a33 commit dcd1d29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ fi
1313

1414
inputBuildDir="build/app/outputs/apk/release"
1515
if [ ! -d $inputBuildDir ]; then
16-
echo "[ERROR] '${inputBuildDir}' does not exist"
17-
exit 1
16+
echo "[WARN] '${inputBuildDir}' does not exist"
1817
fi
1918
inputBuildAPKFilename="app-release.apk"
2019
outputBuildDir="build-apks"
@@ -60,6 +59,7 @@ function installFlutterBuild {
6059
createBuildsDir
6160
cleanFlutterBuilds
6261
buildFutter
62+
createOutputBuildAPK
6363
if [[ $1 == "no-install" ]]; then
6464
echo "[WARN] Not installing flutter build apk..."
6565
else

0 commit comments

Comments
 (0)