mirror of
https://github.com/flutter/packages.git
synced 2025-06-20 06:08:35 +08:00
Update flutter_plugin_tools to 0.5.0 (#441)
Rolls to the latest release of flutter_plugin_tools, updating calls for breaking changes to flags. Other minor changes: - Removes the default set of actions from `tool_runner.sh` since it's never used, and the set of things it runs is a very obsolete subset at this point; it's better to require people to choose specific actions. - Renames some tasks to match recent renaming in flutter/plugins.
This commit is contained in:
@ -7,11 +7,7 @@ set -e
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
||||
REPO_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
# Set some default actions if run without arguments.
|
||||
ACTIONS=("$@")
|
||||
if [[ "${#ACTIONS[@]}" == 0 ]]; then
|
||||
ACTIONS=("test" "analyze" "java-test")
|
||||
fi
|
||||
|
||||
BRANCH_NAME="${BRANCH_NAME:-"$(git rev-parse --abbrev-ref HEAD)"}"
|
||||
if [[ "${BRANCH_NAME}" == "master" ]]; then
|
||||
|
Reference in New Issue
Block a user