You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
More administrivia -
go over git branch checkout programs
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
@@ -25,3 +26,4 @@ for version in $PYVERSIONS; do
|
|||||||
fi
|
fi
|
||||||
echo === $version ===
|
echo === $version ===
|
||||||
done
|
done
|
||||||
|
finish
|
||||||
|
@@ -10,6 +10,10 @@ function checkout_version {
|
|||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
|
||||||
owd=$(pwd)
|
owd=$(pwd)
|
||||||
bs=${BASH_SOURCE[0]}
|
bs=${BASH_SOURCE[0]}
|
||||||
if [[ $0 == $bs ]] ; then
|
if [[ $0 == $bs ]] ; then
|
||||||
@@ -20,5 +24,5 @@ mydir=$(dirname $bs)
|
|||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis python-2.4-to-2.7 &&
|
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis python-2.4-to-2.7 &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
cd $owd
|
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
|
finish
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
PYTHON_VERSION=3.0.1
|
PYTHON_VERSION=3.0.1
|
||||||
pyenv local $PYTHON_VERSION
|
pyenv local $PYTHON_VERSION
|
||||||
|
|
||||||
@@ -29,7 +30,7 @@ fulldir=$(readlink -f $mydir)
|
|||||||
cd $fulldir/..
|
cd $fulldir/..
|
||||||
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
cd $owd
|
|
||||||
rm -v */.python-version || true
|
|
||||||
|
|
||||||
git checkout python-3.0-to-3.2 && git pull && pyenv local $PYTHON_VERSION
|
git checkout python-3.0-to-3.2 && git pull && pyenv local $PYTHON_VERSION
|
||||||
|
rm -v */.python-version || true
|
||||||
|
finish
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
PYTHON_VERSION=3.3.7
|
PYTHON_VERSION=3.3.7
|
||||||
pyenv local $PYTHON_VERSION
|
pyenv local $PYTHON_VERSION
|
||||||
|
|
||||||
@@ -28,8 +29,9 @@ mydir=$(dirname $bs)
|
|||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
cd $fulldir/..
|
cd $fulldir/..
|
||||||
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
cd $owd
|
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
|
|
||||||
git checkout python-3.3-to-3.5 && git pull && pyenv local $PYTHON_VERSION
|
git checkout python-3.3-to-3.5 && git pull && pyenv local $PYTHON_VERSION
|
||||||
|
rm -v */.python-version || true
|
||||||
|
finish
|
||||||
|
Reference in New Issue
Block a user