Skip to content

Commit

Permalink
Fix leading whitespace errors in Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andresuribe87 committed Aug 7, 2024
1 parent 1f6ecbf commit 2c61b5f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ setup:
git submodule update --init --recursive
if [[ "$(cargo 2>&1)" == *"rustup could not choose a version of cargo to run"* ]]; then
rustup default 1.78.0
case $(uname -sm) in
"Darwin arm64")
rustup target add aarch64-apple-darwin ;;
"Darwin x86_64")
rustup target add x86_64-apple-darwin ;;
"Linux aarch64")
rustup target add aarch64-unknown-linux-gnu ;;
"Linux x86_64")
rustup target add x86_64-unknown-linux-gnu ;;
esac
case $(uname -sm) in
"Darwin arm64")
rustup target add aarch64-apple-darwin ;;
"Darwin x86_64")
rustup target add x86_64-apple-darwin ;;
"Linux aarch64")
rustup target add aarch64-unknown-linux-gnu ;;
"Linux x86_64")
rustup target add x86_64-unknown-linux-gnu ;;
esac
fi

build: setup
Expand All @@ -33,7 +33,7 @@ bind: setup
just bind-kotlin

bind-kotlin: setup
case $(uname -sm) in
case $(uname -sm) in
"Darwin arm64")
TARGET_ARCH="aarch64-apple-darwin" ;;
"Darwin x86_64")
Expand All @@ -42,7 +42,7 @@ bind-kotlin: setup
TARGET_ARCH="aarch64-unknown-linux-gnu" ;;
"Linux x86_64")
TARGET_ARCH="x86_64-unknown-linux-gnu" ;;
esac
esac
cargo build --release --package web5_uniffi --target $TARGET_ARCH
cp target/$TARGET_ARCH/release/libweb5_uniffi.* \
bound/kt/src/main/resources/
Expand Down

0 comments on commit 2c61b5f

Please sign in to comment.