mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 17:47:24 +01:00
Guard google_account_token path overrides
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWY1k4muZfdVJfb7YGJ
This commit is contained in:
parent
fe1f4a22ab
commit
86b2621cd4
@ -4,7 +4,8 @@
|
||||
# Fail if a pubspec still overrides a git-dependency utils package with a
|
||||
# local path.
|
||||
#
|
||||
# The apps depend on packages in this repo (crdt_sync, sync_settings_ui) as
|
||||
# The apps depend on packages in this repo (crdt_sync, sync_settings_ui,
|
||||
# google_account_token) as
|
||||
# a *git dependency pinned to a tag*, so what CI builds is whatever that tag
|
||||
# points at. A `dependency_overrides:` entry pointing at a local checkout is
|
||||
# invaluable while developing an unreleased library change -- and
|
||||
@ -16,7 +17,8 @@
|
||||
#
|
||||
# Usage: check_no_crdt_sync_override.sh [-p package_name] [pubspec.yaml ...]
|
||||
# -p package_name Check this package instead of the default set. May be
|
||||
# repeated. Default: crdt_sync sync_settings_ui.
|
||||
# repeated. Default: crdt_sync sync_settings_ui
|
||||
# google_account_token.
|
||||
# With no pubspec.yaml arguments, checks ./pubspec.yaml.
|
||||
# ============================================================================
|
||||
|
||||
@ -24,7 +26,7 @@ set -euo pipefail
|
||||
|
||||
SCRIPT_NAME="$(basename "$0")"
|
||||
readonly SCRIPT_NAME
|
||||
DEFAULT_PACKAGES=(crdt_sync sync_settings_ui)
|
||||
DEFAULT_PACKAGES=(crdt_sync sync_settings_ui google_account_token)
|
||||
|
||||
usage() {
|
||||
echo "Usage: $SCRIPT_NAME [-p package_name ...] [pubspec.yaml ...]"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user