docker/hack/make/build-integration-test-binary

14 строки
317 B
Bash

#!/usr/bin/env bash
set -e
rm -rf "$DEST"
DEST="$ABS_DEST/../test-integration-cli"
source "$SCRIPTDIR/make/.go-autogen"
if [ -z $DOCKER_INTEGRATION_TESTS_VERIFIED ]; then
source ${MAKEDIR}/.integration-test-helpers
ensure_test_dir integration-cli "$DEST/test.main"
export DOCKER_INTEGRATION_TESTS_VERIFIED=1
fi