Skip to content

Commit

Permalink
chore(justfile): Add just dart for easier Flutter dev
Browse files Browse the repository at this point in the history
Format & lint Dart code.
Gives quick feedback without running the app if the code is valid.
  • Loading branch information
klochowicz committed Aug 16, 2023
1 parent 13d1a48 commit 3d77ee4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ cargo-clippy:
lint-flutter:
cd mobile && flutter analyze --fatal-infos .

alias flutter-lint := lint-flutter

alias fmt := format
format: dprint flutter-format

Expand Down Expand Up @@ -430,4 +432,6 @@ migrate-coordinator: docker
# Re-run database migrations for both app and coordinator
migrate: migrate-app migrate-coordinator

dart: flutter-format lint-flutter

# vim:expandtab:sw=4:ts=4

0 comments on commit 3d77ee4

Please sign in to comment.