Files
paddlepaddle--paddle/tools/gen_ut_cmakelists.hook
T
2026-07-13 12:40:42 +08:00

7 lines
169 B
Plaintext

set -e
lists=`python tools/gen_ut_cmakelists.py -f $* |grep 'modified/new:'|cut -f 2 -d :`
num=`echo $lists |wc -w`
[[ $num -ge 1 ]] && git add $lists && exit 1
exit 0