update windows build script
This commit is contained in:
parent
c5a591123d
commit
79c8d0ecb9
|
@ -50,35 +50,35 @@ cd tmp
|
||||||
#$PYTHON setup.py install
|
#$PYTHON setup.py install
|
||||||
#cd ..
|
#cd ..
|
||||||
|
|
||||||
|
# trezor
|
||||||
|
if ! [ -d "trezor-0.7.4" ]; then
|
||||||
if [ -d "trezor-git" ]; then
|
wget "https://pypi.python.org/packages/16/f1/e30d601857ab48f80ab73d15cda957528b5fa3b90bd8168f1e5a1fdd5b1d/trezor-0.7.4.tar.gz"
|
||||||
cd trezor-git
|
tar -xvzf trezor-0.7.4.tar.gz
|
||||||
git pull
|
|
||||||
cd ..
|
|
||||||
else
|
|
||||||
git clone -b $BRANCH $TREZOR_GIT_URL trezor-git
|
|
||||||
fi
|
fi
|
||||||
cd trezor-git
|
cd trezor-0.7.4
|
||||||
$PYTHON setup.py install
|
$PYTHON setup.py install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
#keepkey
|
#keepkey
|
||||||
if [ -d "keepkey-git" ]; then
|
if [ -d "keepkey-git" ]; then
|
||||||
cd keepkey-git
|
cd keepkey-git
|
||||||
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
git checkout v0.7.3
|
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
git clone -b $BRANCH $KEEPKEY_GIT_URL keepkey-git
|
git clone -b $BRANCH $KEEPKEY_GIT_URL keepkey-git
|
||||||
fi
|
fi
|
||||||
cd keepkey-git
|
cd keepkey-git
|
||||||
# fails $PYTHON setup.py install
|
# checkout 2 commits before v0.7.3, because it fails to build
|
||||||
|
# git checkout v0.7.3
|
||||||
|
git checkout 7abe0f0c9026907e9a8db1d231e084df2c175817
|
||||||
|
$PYTHON setup.py install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
#btchip
|
#btchip
|
||||||
if [ -d "btchip-git" ]; then
|
if [ -d "btchip-git" ]; then
|
||||||
cd btchip-git
|
cd btchip-git
|
||||||
|
git checkout master
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue