Gitea CI / Check code and tests (push) Successful in 7m38s
Gitea CI / Build Android APK (push) Successful in 6m20s
Gitea CI / Audit and package Windows x64 (push) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (push) Canceled after 0s
Gitea CI / Gitea CI passed (push) Canceled after 0s
Gitea CI / Build Windows x64 app (push) Canceled after 14m42s
26 lines
710 B
Dart
26 lines
710 B
Dart
import 'dart:io';
|
|
|
|
import 'src/local_environment.dart';
|
|
|
|
Future<void> main(List<String> arguments) async {
|
|
try {
|
|
exitCode = await runLocalFlutter(
|
|
arguments,
|
|
root: Directory.fromUri(Platform.script.resolve('../')),
|
|
inherited: Platform.environment,
|
|
);
|
|
} on FormatException catch (error) {
|
|
stderr.writeln(error.message);
|
|
exitCode = 2;
|
|
} on FileSystemException {
|
|
stderr.writeln('Cannot read .env.local; check the file permissions.');
|
|
exitCode = 1;
|
|
} on StateError catch (error) {
|
|
stderr.writeln(error.message);
|
|
exitCode = 1;
|
|
} on ProcessException {
|
|
stderr.writeln('Cannot start the project Flutter SDK. Run fvm use first.');
|
|
exitCode = 1;
|
|
}
|
|
}
|