Skip to content

Commit

Permalink
Merge branch 'feat/add-engine-build-task' of github.com:ooni/probe-an…
Browse files Browse the repository at this point in the history
…droid into feat/add-engine-build-task
  • Loading branch information
aanorbel committed Jan 13, 2024
2 parents 03478e2 + 1faff56 commit d8e8bd6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/build_experimental_archive.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
#!/bin/sh
set -euxo pipefail

# Define build and output directories
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 d8e8bd6

Please sign in to comment.