Co-authored-by: Felipe M. <me@fmartingr.com> Co-committed-by: Felipe M. <me@fmartingr.com>
14 lines
609 B
Shell
Executable file
14 lines
609 B
Shell
Executable file
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
apt-get update -qq && apt-get install -y --no-install-recommends bash curl git unzip xz-utils ca-certificates > /dev/null
|
|
git config --global --add safe.directory '*'
|
|
|
|
curl -fsSL -o /tmp/flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.41.0-stable.tar.xz
|
|
tar xf /tmp/flutter.tar.xz -C /opt && rm /tmp/flutter.tar.xz
|
|
export PATH="/opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin:$PATH"
|
|
|
|
flutter pub get
|
|
dart format --set-exit-if-changed .
|
|
flutter pub run build_runner build --delete-conflicting-outputs
|
|
flutter analyze
|