Skip to content

Commit

Permalink
FT-344: Updated strip_boilerplate_project
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Van Zelst committed Jun 3, 2024
1 parent 9c18714 commit 567c385
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/strip_boilerplate_project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
with:
channel: 'stable'
- run: ./tool/install_fvm.sh
- run: flutter pub global activate fvm
- run: fvm flutter packages get
- run: printf 'yes\n' | fvm flutter pub run ./tool/setup/dart/strip_boilerplate_project.dart
- run: fvm flutter analyze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
with:
channel: 'stable'
- run: ./tool/install_fvm.sh
- run: flutter pub global activate fvm
- run: fvm flutter packages get
- run: printf 'no\n' | fvm flutter pub run ./tool/setup/dart/strip_boilerplate_project.dart
- run: fvm flutter analyze
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 567c385

Please sign in to comment.