Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: install command #289

Merged
merged 13 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading