Files
app-ethereum/tools/copy_clones.sh
2024-07-22 15:27:55 +02:00

13 lines
316 B
Bash
Executable File

#!/bin/bash
DEVICES=(nanos nanos2 nanox stax flex)
for dev in "${DEVICES[@]}"; do
elf_file="build/${dev}/bin/app.elf"
if [[ -f ${elf_file} ]]; then
cp "${elf_file}" "tests/ragger/.test_dependencies/clone/build/${dev}/bin/"
else
echo "Ignoring unknown file/dev: ${elf_file}"
fi
done