mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Formalize OSX binary script a bit more.
This commit is contained in:
parent
a386dff058
commit
c89378047b
@ -5,12 +5,19 @@
|
|||||||
# First, have a recent checkout of the dev version of pyinstaller. Change into
|
# First, have a recent checkout of the dev version of pyinstaller. Change into
|
||||||
# the pyinstaller directory, and then run this script.
|
# the pyinstaller directory, and then run this script.
|
||||||
|
|
||||||
mkdir -p /tmp/osx-mitmproxy
|
DST=/tmp/osx-mitmproxy
|
||||||
|
MITMPROXY=~/mitmproxy/mitmproxy
|
||||||
|
PYINST_CMD="./pyinstaller.py -F --clean"
|
||||||
|
|
||||||
|
rm -rf $DST
|
||||||
|
mkdir -p $DST
|
||||||
rm -rf mitmproxy
|
rm -rf mitmproxy
|
||||||
rm -rf mitmdump
|
rm -rf mitmdump
|
||||||
|
|
||||||
./pyinstaller.py -F ~/mitmproxy/mitmproxy/mitmproxy
|
$PYINST_CMD $MITMPROXY/mitmproxy
|
||||||
cp mitmproxy/dist/mitmproxy /tmp/osx-mitmproxy
|
cp mitmproxy/dist/mitmproxy $DST
|
||||||
|
|
||||||
./pyinstaller.py -F ~/mitmproxy/mitmproxy/mitmdump
|
$PYINST_CMD $MITMPROXY/mitmdump
|
||||||
cp mitmdump/dist/mitmdump /tmp/osx-mitmproxy
|
cp mitmdump/dist/mitmdump $DST
|
||||||
|
|
||||||
|
cshape $MITMPROXY/doc-src $DST/doc
|
||||||
|
Loading…
Reference in New Issue
Block a user