Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply PR comments.
  • Loading branch information
ditman committed Jun 25, 2024
commit 200a37fe5f9bc891ebb5d7fd4f02b370b3b3889f
13 changes: 7 additions & 6 deletions .ci/scripts/create_all_packages_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
# found in the LICENSE file.
set -e

# Decide what exclusion file to use, the normal or "wasm" depending on $1
if [ "$1" = "--wasm" ]; then
EXCLUDE="script/configs/exclude_all_packages_app_wasm.yaml"
else
EXCLUDE="script/configs/exclude_all_packages_app.yaml"
# The base exclusion file for all_packages app.
exclusions=("script/configs/exclude_all_packages_app.yaml")

# Add a wasm-specific exclusion file if "--wasm" is specified.
if [[ "$1" == "--wasm" ]]; then
exclusions+=",script/configs/exclude_all_packages_app_wasm.yaml"
fi

# Delete ./all_packages if it exists already
rm -rf ./all_packages

dart ./script/tool/bin/flutter_plugin_tools.dart create-all-packages-app \
--output-dir=. --exclude $EXCLUDE
--output-dir=. --exclude "$exclusions"
5 changes: 1 addition & 4 deletions script/configs/exclude_all_packages_app_wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# versions of packages to be mutually compatible, and compilable with Wasm.

# This is only used for wasm compilation. Once all packages in the repo have
# been migrated, remove this file and use `exclude_all_packages_app.yaml` instead.
# been migrated, remove this file and use `exclude_all_packages_app.yaml` only.

# Packages that aren't migrated yet.
# https://github.com/flutter/flutter/issues/117022
Expand All @@ -13,6 +13,3 @@
# Dependencies are not migrated yet
# https://github.com/flutter/flutter/issues/148624
- google_maps_flutter

# This is a permanent entry, as it should never be a direct app dependency.
- plugin_platform_interface