forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_run_chromectrl.sh
More file actions
31 lines (20 loc) · 702 Bytes
/
build_run_chromectrl.sh
File metadata and controls
31 lines (20 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Stop on first error:
# set -e
bash ./build_all.sh 99.99
if [ ! -d "dist/" ]; then echo "ERROR: dist/ does not exist" && exit 1; fi;
cd dist/
cwd=$(pwd)
yes | pip uninstall cefpython3
pip install --upgrade cefpython3 --no-index --find-links=file://$cwd
if [ $? -ne 0 ]; then echo "ERROR: pip install cefpython3..." && exit 1; fi;
cd ../
cd ../../wx/examples/
python sample1.py
#if [ $? -ne 0 ]; then echo "ERROR: python sample1.py" && exit 1; fi;
python sample2.py
#if [ $? -ne 0 ]; then echo "ERROR: python sample2.py" && exit 1; fi;
python sample3.py
#if [ $? -ne 0 ]; then echo "ERROR: python sample3.py" && exit 1; fi;
cd ../../mac/installer/
yes | pip uninstall cefpython3