mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-14 19:05:27 +00:00
build-android: specify commit (#904)
This commit is contained in:
@@ -4,6 +4,7 @@ set -eu
|
||||
|
||||
u="$USER"
|
||||
tmp=$(mktemp -d -t)
|
||||
commit="${1:-nix-android}"
|
||||
commands="nix git gradle unzip curl"
|
||||
|
||||
nix_install() {
|
||||
@@ -32,7 +33,7 @@ git_setup() {
|
||||
git clone https://github.com/simplex-chat/simplex-chat "$tmp/simplex-chat"
|
||||
|
||||
# Switch to nix-android branch
|
||||
git -C "$tmp/simplex-chat" checkout nix-android
|
||||
git -C "$tmp/simplex-chat" checkout "$commit"
|
||||
|
||||
# Create missing folders
|
||||
mkdir -p "$tmp/simplex-chat/apps/android/app/src/main/cpp/libs/arm64-v8a"
|
||||
@@ -40,6 +41,7 @@ git_setup() {
|
||||
|
||||
checks() {
|
||||
set +u
|
||||
|
||||
for i in $commands; do
|
||||
case $i in
|
||||
nix)
|
||||
|
||||
Reference in New Issue
Block a user