Open eseidel opened 1 year ago
It should also compile flutter
. Otherwise you can get awkward later compiles of Flutter, like when you run shorebird doctor
:
eseidel@Erics-MacBook-Pro test_app % shorebird doctor
Shorebird v0.0.5
✓ Flutter install is correct (23.4s)
✓ AndroidManifest.xml files contain INTERNET permission (29ms)
✓ Shorebird is up-to-date (0.3s)
No issues detected!
And call flutter --version
to compile flutter.
Wasn't this fixed?
Hoping a simple and feasible solution is in upgrade_command.dart
++ await doctor.runValidators(doctor.allValidators, applyFixes: false); // No need to apply any fixes. Just a doctor is fine like flutter does.
updateProgress.complete('Updated successfully.');
return ExitCode.success.code;
@eseidel @felangel
Originally thought this would be part of https://github.com/shorebirdtech/shorebird/pull/2184, but was wrong. Unassigning for now.
I believe
flutter upgrade
does this. Right now when you runshorebird upgrade
it will replace your shorebird, but not recompile it. This means that the next time you run a shorebird command it does the compile.Maybe the fix for this and https://github.com/shorebirdtech/shorebird/issues/288 is to just have it run
shorebird --version
?