Skip to content

Commit

Permalink
feat: install command (#289)
Browse files Browse the repository at this point in the history
* feat: install command

* ready??

* update analyze

* using pub add directly

* latest

* using from git

* explaining removing plugins

* windows support

* remove bat

* tests

* add only-pubspec-plugins

* interact update

* switch to master
  • Loading branch information
Lyokone committed May 7, 2024
1 parent 14f132e commit e9fa73e
Show file tree
Hide file tree
Showing 7 changed files with 572 additions and 10 deletions.
4 changes: 2 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ scripts:

format-check:
# Necessary to stop it formatting `firebase_options.dart` file which breaks comparison in tests
run: melos exec -- "find . -iname \"*.dart\" ! -name \"firebase_options.dart\" -exec dart format {} --set-exit-if-changed \;"
run: melos exec -- "find . -iname \"*.dart\" ! -name \"firebase_options.dart\" -exec dart format {} --set-exit-if-changed \;"
description: Run `dart format` checks for all packages.
select-package:
ignore:
Expand All @@ -30,7 +30,7 @@ scripts:

test:
description: Run tests in a specific package.
run: melos exec --ignore="flutterfire_starter_hooks" --concurrency=1 -- "dart pub get && dart pub run test --reporter expanded"
run: melos exec --ignore="flutterfire_starter_hooks" --concurrency=1 -- "dart pub get && dart run test --reporter expanded"
select-package:
dir-exists:
- "test/"
Expand Down
2 changes: 2 additions & 0 deletions packages/flutterfire_cli/lib/src/command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import 'package:args/command_runner.dart';

import 'commands/bundle_service_file.dart';
import 'commands/config.dart';
import 'commands/install.dart';
import 'commands/reconfigure.dart';
import 'commands/update.dart';
import 'commands/upload_symbols.dart';
Expand Down Expand Up @@ -58,5 +59,6 @@ class FlutterFireCommandRunner extends CommandRunner<void> {
addCommand(UploadCrashlyticsSymbols(flutterApp));
addCommand(BundleServiceFile(flutterApp));
addCommand(Reconfigure(flutterApp));
addCommand(InstallCommand(flutterApp));
}
}
Loading

0 comments on commit e9fa73e

Please sign in to comment.