Skip to content

Commit

Permalink
chore: upgrade flutter and Justfile (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesbillman authored Dec 21, 2023
1 parent 2b5d02b commit a6692c3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ test: test-app test-packages

# Run Flutter tests
test-app:
@echo "Running Flutter tests"
@flutter test
flutter test

# Run package tests
test-packages:
@echo "Running Dart tests in packages"
@for dir in packages/*; do \
#!/bin/bash
for dir in packages/*; do \
if [ -d $dir ]; then \
echo "Running tests in $dir"; \
(cd $dir && dart test); \
Expand All @@ -43,13 +42,14 @@ test-packages:

# Analyze the project's Dart code
analyze:
@flutter analyze
@for dir in packages/*; do \
#!/bin/bash
flutter analyze
for dir in packages/*; do \
if [ -d $dir ]; then \
(cd $dir && dart analyze); \
fi \
done

# Generate code
generate:
flutter gen-l10n
flutter gen-l10n
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/dart
2 changes: 1 addition & 1 deletion bin/flutter

0 comments on commit a6692c3

Please sign in to comment.