Reviewed-on: #40 Co-authored-by: ange <ange@yw5n.com> Co-committed-by: ange <ange@yw5n.com>
11 lines
191 B
Bash
Executable File
11 lines
191 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
IMG=git.gmoker.com/icing/flutter:main
|
|
|
|
if [ "$1" == '-s' ]; then
|
|
OPT+=(--dart-define=STEALTH=true)
|
|
fi
|
|
|
|
set -x
|
|
docker run --rm -v "$PWD:/app/" "$IMG" build apk "${OPT[@]}"
|