Skip to content

Commit

Permalink
fix: build failure due to Android Studio dill files deletion (superli…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarbarev committed Oct 26, 2024
1 parent 7c56165 commit 855cba6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions super_native_extensions/cargokit/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 855cba6

Please sign in to comment.