Skip to content

Commit

Permalink
Updated code based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Jan 10, 2024
1 parent 6c43d27 commit 1faff56
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/build_experimental_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ set -euxo pipefail
gitTarget=${1:-"master"}
buildDir=${2:-"./build"}

if [ -d "$buildDir" ]; then rm -Rf $buildDir; fi

# Create build directory and navigate into it
mkdir -p "${buildDir}" && cd "${buildDir}"
mkdir -p "${buildDir}"

cd "${buildDir}"

# Clone the repository
git clone -v https://github.com/ooni/probe-cli.git

# Navigate into the repository
cd probe-cli

git checkout master

git pull origin
# Checkout the target branch
git checkout -c "${gitTarget}"
git checkout "${gitTarget}"

# Build the probe-cli
make android
Expand Down

0 comments on commit 1faff56

Please sign in to comment.