mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 13:09:49 +00:00
27 lines
435 B
Bash
Executable File
27 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
function finish {
|
|
cd $owd
|
|
}
|
|
|
|
# FIXME put some of the below in a common routine
|
|
owd=$(pwd)
|
|
trap finish EXIT
|
|
|
|
cd $(dirname ${BASH_SOURCE[0]})
|
|
if ! source ./pyenv-newer-versions ; then
|
|
exit $?
|
|
fi
|
|
if ! source ./setup-master.sh ; then
|
|
exit $?
|
|
fi
|
|
cd ..
|
|
for version in $PYVERSIONS; do
|
|
if ! pyenv local $version ; then
|
|
exit $?
|
|
fi
|
|
make clean && pip install -e .
|
|
if ! make check; then
|
|
exit $?
|
|
fi
|
|
done
|