Skip to content

Commit

Permalink
feat: add dart analyze to pre-commit hook
Browse files Browse the repository at this point in the history
Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
  • Loading branch information
aakashhemadri committed Apr 18, 2022
1 parent 925471a commit 73ad399
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

echo "pre-commit hook: running `dart analyze`..."
dart analyze
echo "pre-commit hook: running `flutter test`..."
flutter test

0 comments on commit 73ad399

Please # to comment.