Skip to content

Commit

Permalink
Merge pull request #345 from icapps/feature/344-fix-fvm
Browse files Browse the repository at this point in the history
FT-344: Updated gitignore, removed fvm_config, added .fvmrc
  • Loading branch information
ikbendewilliam authored Jun 3, 2024
2 parents d3a85bb + 567c385 commit 2908fe8
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .fvm/fvm_config.json

This file was deleted.

3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.10.6"
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@
Gemfile.lock

# Fvm
.fvm/flutter_sdk
.fvm/
/lib/generated_plugin_registrant.dart
/test/coverage_helper_test.dart
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -761,10 +761,10 @@ packages:
dependency: "direct dev"
description:
name: mockito
sha256: dd61809f04da1838a680926de50a9e87385c1de91c6579629c3d1723946e8059
sha256: "7d5b53bcd556c1bc7ffbe4e4d5a19c3e112b7e925e9e172dd7c6ad0630812616"
url: "https://pub.dev"
source: hosted
version: "5.4.0"
version: "5.4.2"
model_generator:
dependency: "direct dev"
description:
Expand Down
Binary file modified test/screen/license/img/license_screen_inital_state_ipad_pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/screen/license/img/license_screen_inital_state_iphone_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/screen/login/img/login_screen_initial_state_ipad_pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/screen/login/img/login_screen_initial_state_iphone_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tool/install_fvm.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

regex='"flutterSdkVersion": "(.*)",'
regex='"flutter": "(.*)"'
version=""

flutter pub global activate fvm
fvmFlutterConfig=`cat .fvm/fvm_config.json`
fvmFlutterConfig=`cat .fvmrc`

if [[ $fvmFlutterConfig =~ $regex ]]; then
version="${BASH_REMATCH[1]}"
Expand Down
1 change: 1 addition & 0 deletions tool/setup/dart/strip_boilerplate_project.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ void main(List<String> args) {
_replaceHomeScreenLine();
_replaceDatabaseTests();
Logger.debug('Removed import references');
executeCommand('flutter', ['pub', 'global', 'activate', 'fvm']);
executeCommand('fvm', ['flutter', 'clean']);
executeCommand('fvm', ['flutter', 'packages', 'get']);
executeCommand('fvm', ['flutter', 'packages', 'pub', 'run', 'build_runner', 'build', '--delete-conflicting-outputs']);
Expand Down

0 comments on commit 2908fe8

Please sign in to comment.