|
|
@ -1,5 +1,6 @@
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
if [[ $PVERSION = 2 ]]; then
|
|
|
|
set -x
|
|
|
|
|
|
|
|
|
|
|
|
python -m py_compile cps.py
|
|
|
|
python -m py_compile cps.py
|
|
|
|
python -m py_compile cps/book_formats.py
|
|
|
|
python -m py_compile cps/book_formats.py
|
|
|
|
python -m py_compile cps/db.py
|
|
|
|
python -m py_compile cps/db.py
|
|
|
@ -10,17 +11,3 @@ python -m py_compile cps/ub.py
|
|
|
|
python -m py_compile cps/uploader.py
|
|
|
|
python -m py_compile cps/uploader.py
|
|
|
|
python -m py_compile cps/web.py
|
|
|
|
python -m py_compile cps/web.py
|
|
|
|
python -m py_compile cps.py
|
|
|
|
python -m py_compile cps.py
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ $PVERSION = 3 ]]; then
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/book_formats.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/db.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/epub.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/fb2.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/helper.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/ub.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/uploader.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps/web.py
|
|
|
|
|
|
|
|
python3.6 -m py_compile cps.py
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|