Skip to content

Commit

Permalink
build: Fix flutter-init.sh warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Oct 19, 2024
1 parent e016497 commit 6f976d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions flutter-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ flutter config --no-analytics
# Get Flutter packages
flutter pub get

# Generate localization files
flutter gen-l10n -v

# Generate Flutter version file
echo "const Map<String, String> flutterVersion =" > "$FLUTTER_VERSION_FILE"
flutter --version --machine | tee -a "$FLUTTER_VERSION_FILE"
echo ";" >> "$FLUTTER_VERSION_FILE"

# Run code generation
flutter pub run build_runner build --delete-conflicting-outputs
dart run build_runner build --delete-conflicting-outputs

0 comments on commit 6f976d4

Please sign in to comment.