diff options
author | tiziodcaio | 2023-07-28 21:05:46 +0200 |
---|---|---|
committer | tiziodcaio | 2023-07-28 21:05:46 +0200 |
commit | e1350dbd54b94fe7d0cd821209735686179e6358 (patch) | |
tree | c7900e95f2d5d57bacdfe979ed27a5cce477ce4e /flutter.sh | |
parent | 6f6db03a36d02f14e338100e852f06e4937afd0f (diff) | |
download | aur-flutter-light.tar.gz |
3.10.6
Diffstat (limited to 'flutter.sh')
-rw-r--r-- | flutter.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/flutter.sh b/flutter.sh index e63a41979f7d..8f2f379cc457 100644 --- a/flutter.sh +++ b/flutter.sh @@ -1,4 +1,10 @@ -#!/bin/bash +#!/bin/sh + +# To debug the tool, you can uncomment the following lines to enable debug +# mode and set an observatory port: +# FLUTTER_TOOL_ARGS="--enable-asserts $FLUTTER_TOOL_ARGS" +# FLUTTER_TOOL_ARGS="$FLUTTER_TOOL_ARGS --observe=65432" + export FLUTTER_ROOT=/opt/flutter export PATH=${PATH}:${FLUTTER_ROOT}/bin -/bin/dart --disable-dart-dev --packages="$FLUTTER_ROOT/packages/flutter_tools/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@" +/bin/dart --disable-dart-dev --packages="$FLUTTER_ROOT/packages/flutter_tools/.dart_tool/package_config.json" $FLUTTER_TOOL_ARGS "$FLUTTER_ROOT/bin/cache/flutter_tools.snapshot" "$@" |