#!/bin/sh # Builds this test app twice, once per variant. # # Two runs of the shared builder rather than a flag on it: what is being # tested is Dev Updater seeing two builds under one project, and the # simplest thing that produces that is building twice. They are byte-for- # byte the same app -- the variant is the directory name, which is where # `discover.rs` reads it from. set -eu for variant in debug release; do ../lib/build-apk.sh \ --package com.example.dutest.variants \ --label "Test Variants" \ --variant "$variant" done