Remove --dart
This commit is contained in:
parent
8e98e366f7
commit
4d69a65f9a
@ -92,12 +92,6 @@ while [[ $# -gt 0 ]]; do
|
|||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--dart)
|
|
||||||
# Specifies the path to the dart binary
|
|
||||||
DART=$2
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
echo "Unknown argument: $1"
|
echo "Unknown argument: $1"
|
||||||
shift
|
shift
|
||||||
@ -120,7 +114,6 @@ SKIP_BUILD=${SKIP_BUILD:-n}
|
|||||||
NOTIFY_SEND=${NOTIFY_SEND:-notify-send}
|
NOTIFY_SEND=${NOTIFY_SEND:-notify-send}
|
||||||
SEND_NOTIFICATION=${SEND_NOTIFICATION:-y}
|
SEND_NOTIFICATION=${SEND_NOTIFICATION:-y}
|
||||||
FLUTTER=${FLUTTER:-flutter}
|
FLUTTER=${FLUTTER:-flutter}
|
||||||
DART=${DART:-flutter}
|
|
||||||
|
|
||||||
# Parse version info
|
# Parse version info
|
||||||
version=$(grep -E "^version: " pubspec.yaml | cut -b 10-)
|
version=$(grep -E "^version: " pubspec.yaml | cut -b 10-)
|
||||||
@ -133,7 +126,6 @@ echo "===== ${NAME} ====="
|
|||||||
echo "Building version ${version}"
|
echo "Building version ${version}"
|
||||||
echo "Moving APKs into ${release_dir} after build"
|
echo "Moving APKs into ${release_dir} after build"
|
||||||
echo "Flutter: ${FLUTTER}"
|
echo "Flutter: ${FLUTTER}"
|
||||||
echo "Dart: ${DART}"
|
|
||||||
echo "Clean build: ${CLEAN_BUILD}"
|
echo "Clean build: ${CLEAN_BUILD}"
|
||||||
echo "Pigeons to build: ${PIGEON_FILES}"
|
echo "Pigeons to build: ${PIGEON_FILES}"
|
||||||
echo "Skipping build: ${SKIP_BUILD}"
|
echo "Skipping build: ${SKIP_BUILD}"
|
||||||
@ -180,7 +172,7 @@ else
|
|||||||
|
|
||||||
# Build pigeons
|
# Build pigeons
|
||||||
for pigeon in $PIGEON_FILES; do
|
for pigeon in $PIGEON_FILES; do
|
||||||
$DART run pigeon --input $pigeon
|
$FLUTTER run pigeon --input $pigeon
|
||||||
done
|
done
|
||||||
|
|
||||||
# Build the release apk
|
# Build the release apk
|
||||||
|
Loading…
Reference in New Issue
Block a user