Skip to content

Commit

Permalink
fix: build failure due to Android Studio dill files deletion (#81)
Browse files Browse the repository at this point in the history
Full context of the change in the issue:
superlistapp/super_native_extensions#460
  • Loading branch information
alexgarbarev authored Nov 1, 2024
1 parent c6a3401 commit 918f280
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run_build_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ if [ ! -f "$PACKAGE_HASH_FILE" ]; then
echo "$PACKAGE_HASH" > "$PACKAGE_HASH_FILE"
fi

# Rebuild the tool if it was deleted by Android Studio
if [ ! -f "bin/build_tool_runner.dill" ]; then
"$DART" compile kernel bin/build_tool_runner.dart
fi

set +e

"$DART" bin/build_tool_runner.dill "$@"
Expand Down

0 comments on commit 918f280

Please sign in to comment.