mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-24 00:21:05 +08:00
33 lines
393 B
Bash
33 lines
393 B
Bash
#!/bin/bash
|
|
|
|
function showpwd ()
|
|
{
|
|
echo '=============' `pwd`
|
|
}
|
|
|
|
# perform programs self test
|
|
showpwd
|
|
./perfect_hash.py --test || exit 1
|
|
|
|
# update documentation
|
|
for folder in doc
|
|
do
|
|
cd $folder
|
|
showpwd
|
|
make
|
|
cd ..
|
|
done
|
|
|
|
# run examples
|
|
for folder in example* graph
|
|
do
|
|
cd $folder
|
|
showpwd
|
|
make || exit 1
|
|
make test || exit 1
|
|
make clean
|
|
cd ..
|
|
done
|
|
|
|
rm perfect_hash.pyc
|