Skip to content

Commit

Permalink
Explicitly format generated files with workspace line length setting
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed May 7, 2024
1 parent 8ab7827 commit 0cca104
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/sdk-flutter/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ gen: codegen && ffigen
codegen:
mkdir -p ./lib/generated
flutter_rust_bridge_codegen generate
dart format -l 110 ./lib/generated

# Generate FFI bindings
ffigen:
flutter pub run ffigen --config ffigen.yaml
dart format -l 110 ./lib/breez_sdk_core_bindings_generated.dart

# Builds local library
build:
Expand Down Expand Up @@ -116,4 +118,4 @@ link:
# Static code analysis
check:
flutter analyze --fatal-infos .
# dart format -o none --set-exit-if-changed -l 110 .
dart format -o none --set-exit-if-changed -l 110 .

0 comments on commit 0cca104

Please sign in to comment.