refactor: CI scripts and old workarounds for build scripts
This commit is contained in:
parent
4fc4ced3ed
commit
46ff21a475
7 changed files with 33 additions and 48 deletions
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
flutter pub get
|
||||
flutter build apk --release
|
||||
mkdir -p build/android
|
||||
cp build/app/outputs/apk/release/app-release.apk build/android/
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
flutter build apk --debug
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh -ve
|
||||
flutter config --enable-linux-desktop
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter build linux --release -v
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh -ve
|
||||
flutter config --enable-macos-desktop
|
||||
flutter clean
|
||||
flutter pub get
|
||||
cd macos
|
||||
pod install
|
||||
pod update
|
||||
cd ..
|
||||
flutter build macos --release
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh -ve
|
||||
flutter config --enable-web
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter build web --release --verbose --source-maps
|
||||
# bug of the Flutter engine
|
||||
chmod +r -R build/web
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh -ve
|
||||
flutter pub get
|
||||
flutter pub run import_sorter:main --no-comments --exit-if-changed
|
||||
flutter format lib/ test/ --set-exit-if-changed
|
||||
git apply ./scripts/enable-android-google-services.patch
|
||||
flutter pub get
|
||||
flutter analyze
|
||||
flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true
|
||||
Loading…
Add table
Add a link
Reference in a new issue