Reformat test.sh

reviewable/pr132/r1
Tamir Duberstein 3 months ago
parent 0c8fb43804
commit 89eb550856

@ -3,9 +3,15 @@
set -eux set -eux
TEMPLATE_DIR=$1 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 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 CRATE_NAME=aya-test-crate
case "${PROG_TYPE}" in case "${PROG_TYPE}" in
@ -41,6 +47,7 @@ case "${PROG_TYPE}" in
;; ;;
*) *)
ADDITIONAL_ARGS=() ADDITIONAL_ARGS=()
;;
esac esac
TMP_DIR=$(mktemp -d) TMP_DIR=$(mktemp -d)

Loading…
Cancel
Save