Files
packages/script/tool_runner.sh
stuartmorgan b952cbfd43 Roll to version 0.6.0+1 of repo tooling (#454)
Picks up 0.6.0+1 of the tool, which among other things fixes `build-examples` to run on non-plugin packages.

Related changes:
- Simplifies tool_runner.sh using new tool flag, to match the recent change to flutter/plugins.
- Disables sharding of the build+native test tasks; even with building now working again, it's clear there's not enough load to warrant the shards; each one has about 1 minute of setup, and then the build times per shard varied from 1-4 minutes. Using an extra machine to run in 1+1 and 1+4 minutes is not a win over just doing a single 1+5 minute run.
2021-09-01 11:18:53 -07:00

13 lines
436 B
Bash
Executable File

#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
REPO_DIR="$(dirname "$SCRIPT_DIR")"
# The tool expects to be run from the repo root.
cd "$REPO_DIR"
dart pub global run flutter_plugin_tools "$@" --packages-for-branch $BUILD_SHARDING