introduct .make_target.sh

This commit is contained in:
yanguwan 2023-02-10 17:25:18 +08:00
parent b55eef8e62
commit 1106052291

11
scripts/.make_target.sh Normal file
View 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