|
|
|
@ -14,8 +14,8 @@
|
|
|
|
|
## -d <ip>:<password> \ |
|
|
|
|
## -s /home/user/sign/system_keys |
|
|
|
|
|
|
|
|
|
## Flatter path |
|
|
|
|
FLATTER="$HOME/.local/opt/flutter-sdk/bin/flutter" |
|
|
|
|
## Flutter path |
|
|
|
|
FLUTTER="$HOME/.local/opt/flutter-sdk/bin/flutter" |
|
|
|
|
|
|
|
|
|
## https://developer.auroraos.ru/doc/software_development/psdk/setup |
|
|
|
|
## Install Platform SDK path |
|
|
|
@ -40,14 +40,14 @@ if [ -z "$package" ]; then
|
|
|
|
|
else |
|
|
|
|
cd "../packages/$package" 2>/dev/null || eval 'echo "Package \"$package\" not found." && exit' |
|
|
|
|
## Update dependency |
|
|
|
|
$FLATTER pub get |
|
|
|
|
$FLUTTER pub get |
|
|
|
|
## Run ffigen if has |
|
|
|
|
$FLATTER pub run ffigen --config ffigen.yaml 2>/dev/null |
|
|
|
|
$FLUTTER pub run ffigen --config ffigen.yaml 2>/dev/null |
|
|
|
|
## Open example dir |
|
|
|
|
cd "example" || exit |
|
|
|
|
## Build aurora example app |
|
|
|
|
{ |
|
|
|
|
$FLATTER build aurora --release |
|
|
|
|
$FLUTTER build aurora --release |
|
|
|
|
} || { |
|
|
|
|
exit 1; |
|
|
|
|
} |
|
|
|
|