|
|
|
@@ -16,12 +16,13 @@ do |
|
|
|
elif [ -f "${bind}/player${i}.py" ]; then |
|
|
|
pushd ../python |
|
|
|
cp -f $bind/player$i.py ./PyAPI/AI.py |
|
|
|
python3 -m compileall ./PyAPI |
|
|
|
python3 -m compileall ./PyAPI >compile_log$i.txt 2>&1 |
|
|
|
if [ ! -f ./PyAPI/__pycache__/AI.cpython-39.pyc ]; then |
|
|
|
flag=0 |
|
|
|
else |
|
|
|
rm -rf ./PyAPI/__pycache__/AI.cpython-39.pyc |
|
|
|
fi |
|
|
|
mv ./compile_log$i.txt $bind/compile_log$i.txt |
|
|
|
popd |
|
|
|
fi |
|
|
|
let "i++" |
|
|
|
|