We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8a4a57 + 30154f0 commit 990caabCopy full SHA for 990caab
1 file changed
tool/run_tests.sh
@@ -2,9 +2,20 @@
2
3
set -e
4
5
-DIR=$( cd $( dirname "${BASH_SOURCE[0]}" )/.. && pwd )
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )
6
7
-echo "Analyzing library for warnings or type errors"
8
-pub run test $DIR/test/email_validator_test.dart
+cd "$DIR"
9
10
-echo -e "\n[32m✓ OK[0m"
+echo "Installing dependencies..."
+dart pub get
11
+
12
+echo "Checking formatting..."
13
+dart format --output=none --set-exit-if-changed .
14
15
+echo "Analyzing for warnings and type errors..."
16
+dart analyze --fatal-infos
17
18
+echo "Running tests..."
19
+dart test
20
21
+echo -e "\n\033[32m✓ OK\033[0m"
0 commit comments