iosWebViewFix/scripts/publish.sh

12 lines
250 B
Bash
Raw Permalink Normal View History

2021-03-01 19:24:26 +00:00
#!/bin/bash
readonly SCRIPT_PATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
readonly PROJECT_DIR="$(dirname $SCRIPT_PATH)"
2021-03-01 19:26:57 +00:00
cd $PROJECT_DIR/lib
2021-03-01 19:24:26 +00:00
dartfmt -w .
2021-03-01 19:26:57 +00:00
cd $PROJECT_DIR
2021-03-01 19:24:26 +00:00
flutter analyze
flutter pub publish --dry-run
flutter pub publish