mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-05-29 09:58:55 -06:00
Test examples
This commit is contained in:
20
examples/test.sh
Executable file
20
examples/test.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
|
||||
for dir in $(ls)
|
||||
do
|
||||
if ! [ -d $dir ]
|
||||
then
|
||||
continue
|
||||
fi
|
||||
|
||||
(
|
||||
cd $dir
|
||||
cargo build
|
||||
target/debug/$dir &
|
||||
pid=$!
|
||||
sleep 10
|
||||
kill $pid
|
||||
)
|
||||
done
|
||||
Reference in New Issue
Block a user