From 6afdcbc319b83ade21e98d5bafb3b4be28563095 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sat, 30 Sep 2023 22:18:36 +0530 Subject: [PATCH] feat(android): use color for cargo outputs --- package/android/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/android/build.sh b/package/android/build.sh index 98aa4bd..149e1b8 100755 --- a/package/android/build.sh +++ b/package/android/build.sh @@ -24,6 +24,8 @@ mv $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-and mv $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar mv $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++ $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-clang++ +export CARGO_TERM_COLOR=always + cargo build --release --target aarch64-linux-android # Create outputs