Skip to content

Commit

Permalink
chore(1.6.1): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqq committed Apr 4, 2024
1 parent 410285f commit 256ad7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ migrate_working_dir/
.flutter-plugins-dependencies
.packages
.pub-cache/
/pubspec.lock
# /pubspec.lock
build/

# Pana
Expand Down
2 changes: 1 addition & 1 deletion tool/makefile/main.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: doctor version get clean clean-all clean-cache clean-and-generate fluttergen l10n build_runner codegen gen upgrade upgrade outdated dependencies locales run-build-runner run-build-runner-watch
.PHONY: doctor version get clean-cache clean-and-generate fluttergen l10n build-runner codegen gen upgrade upgrade outdated dependencies locales run-build-runner run-build-runner-watch

# Check flutter doctor
doctor:
Expand Down
7 changes: 7 additions & 0 deletions tool/makefile/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ coverage:
genhtml:
@genhtml coverage/lcov.info -o coverage/html

# Runs unit tests
test-unit:
@echo "╠ RUNNING UNIT TESTS..."
@flutter test --coverage || (echo "Error while running tests"; exit 1)
@genhtml coverage/lcov.info --output=coverage -o coverage/html || (echo "Error while running tests"; exit 2)
@echo "╠ UNIT TESTS SUCCESSFULLY"

0 comments on commit 256ad7b

Please sign in to comment.