Skip to content

Commit

Permalink
chore: add tool to regen project files
Browse files Browse the repository at this point in the history
  • Loading branch information
glemartret committed Jan 24, 2024
1 parent 8ba342c commit 1689232
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ packages:
dependency: "direct dev"
description:
path: "."
ref: "v0.0.3"
resolved-ref: "6aca871c0de7714ae4eab3158f1f3678d271376d"
ref: latest
resolved-ref: d311a0a5cfb28f29be245873be6a1c993f953e0d
url: "[email protected]:glemartret/extreme_flutter_lints.git"
source: git
version: "0.0.3"
Expand Down Expand Up @@ -821,4 +821,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.2.0 <4.0.0"
flutter: ">=3.3.0"
flutter: ">=3.13.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dev_dependencies:
extreme_flutter_lints:
git:
url: [email protected]:glemartret/extreme_flutter_lints.git
ref: v0.0.3
ref: latest
flutter_test:
sdk: flutter
freezed: ^2.4.5
Expand Down
9 changes: 9 additions & 0 deletions regen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
rm -rf ~/.pub-cache/
flutter pub cache repair
find . -type f -name '*.g.dart' -print -delete && find . -type f -name '*.freezed.dart' -print -delete
flutter clean
rm pubspec.lock
flutter pub get
flutter packages pub run build_runner build --delete-conflicting-outputs
dart pub global activate full_coverage
dart pub global run full_coverage

0 comments on commit 1689232

Please sign in to comment.