diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 09e3318..75e834a 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -35,5 +35,8 @@ jobs: - name: Download pub dependencies run: flutter pub get + - name: Run analyzer + run: flutter analyze + - name: Run tests - run: flutter pub run test + run: flutter pub test diff --git a/lib/src/arbify_cli.dart b/lib/src/arbify_cli.dart index 0932b13..3d30e7a 100644 --- a/lib/src/arbify_cli.dart +++ b/lib/src/arbify_cli.dart @@ -39,7 +39,7 @@ class ArbifyCli { OutputFileUtils _fileUtils; - void run(List args) async { + Future run(List args) async { final results = _argParser.parse(args); if (results['help'] as bool) { @@ -177,7 +177,7 @@ Secret: """); } } - void runDownload(Config config) async { + Future runDownload(Config config) async { await _fetchExports(config); _saveLocalizationDartFileOrExit(); _runIntlTranslationGenerateFromArb(config); diff --git a/pubspec.yaml b/pubspec.yaml index d48745a..303b8f9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: arbify description: > A package providing support for internationalizing Flutter applications using intl package with Arbify. -version: 0.0.7 +version: 0.0.8 homepage: https://github.com/Arbify/arbify_flutter environment: