Skip to content

Commit

Permalink
Update scripts/build_hal_tests.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Demski (Glamhoth) <Glamhoth@users.noreply.github.com>
  • Loading branch information
SteelPh0enix and Glamhoth authored Aug 21, 2023
1 parent 77ab13c commit 529484c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions scripts/build_hal_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@

set -euo pipefail

if [ $# -eq 0 ]
then
for d in testbins/test-hal-*/; do
pushd $d > /dev/null
cargo build
popd > /dev/null
done
else
pushd examples/$1/ > /dev/null
cargo build
popd > /dev/null
fi
for d in testbins/test-hal-*/; do
pushd $d > /dev/null
cargo build
popd > /dev/null
done

0 comments on commit 529484c

Please sign in to comment.