chore: disable flutter analyze when push

This commit is contained in:
appflowy 2022-07-31 20:13:03 +08:00
parent 1b2161393c
commit 8511829c42

View File

@ -24,21 +24,13 @@ if [[ `git status --porcelain` ]]; then
exit 1
fi
printMessage "Running the Flutter analyzer"
flutter analyze
if [ $? -ne 0 ]; then
printError "Flutter analyzer error"
exit 1
fi
printMessage "Finished running the Flutter analyzer"
#printMessage "Running unit tests"
#flutter test
#
#printMessage "Running the Flutter analyzer"
#flutter analyze
#
#if [ $? -ne 0 ]; then
# printf "\e[31;1m%s\e[0m\n" 'Unit tests error'
# printError "Flutter analyzer error"
# exit 1
#fi
#printf "\e[33;1m%s\e[0m\n" 'Finished running unit tests'
#
#printMessage "Finished running the Flutter analyzer"