Reformat test.sh

pull/131/head
Tamir Duberstein 6 months ago
parent 20ce988ecf
commit 597658d5c5
No known key found for this signature in database

@ -3,9 +3,15 @@
set -eux
TEMPLATE_DIR=$1
if [ -z "${TEMPLATE_DIR}" ]; then echo "template dir required"; exit 1; fi
if [ -z "${TEMPLATE_DIR}" ]; then
echo "template dir required"
exit 1
fi
PROG_TYPE=$2
if [ -z "${PROG_TYPE}" ]; then echo "program type required"; exit 1; fi
if [ -z "${PROG_TYPE}" ]; then
echo "program type required"
exit 1
fi
CRATE_NAME=aya-test-crate
case "${PROG_TYPE}" in
@ -41,6 +47,7 @@ case "${PROG_TYPE}" in
;;
*)
ADDITIONAL_ARGS=()
;;
esac
TMP_DIR=$(mktemp -d)

Loading…
Cancel
Save