mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-26 12:50:11 +08:00
introduct .make_target.sh
This commit is contained in:
parent
b55eef8e62
commit
1106052291
11
scripts/.make_target.sh
Normal file
11
scripts/.make_target.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
make $1 &> make.log
|
||||
grep FAIL make.log
|
||||
if [[ $? -ne 0 ]]; then
|
||||
rm make.log
|
||||
exit 0
|
||||
else
|
||||
rm make.log
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue
Block a user