aboutsummaryrefslogtreecommitdiffstats
path: root/release/osx-binaries
diff options
context:
space:
mode:
Diffstat (limited to 'release/osx-binaries')
-rwxr-xr-xrelease/osx-binaries23
1 files changed, 23 insertions, 0 deletions
diff --git a/release/osx-binaries b/release/osx-binaries
new file mode 100755
index 00000000..a5f17ba5
--- /dev/null
+++ b/release/osx-binaries
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Quick and dangerous script for building OSX binaries.
+
+# First, have a recent checkout of the dev version of pyinstaller. Change into
+# the pyinstaller directory, and then run this script.
+
+DST=/tmp/osx-mitmproxy
+MITMPROXY=~/mitmproxy/mitmproxy
+PYINST_CMD="./pyinstaller.py -F --clean"
+
+rm -rf $DST
+mkdir -p $DST
+rm -rf mitmproxy
+rm -rf mitmdump
+
+$PYINST_CMD $MITMPROXY/mitmproxy
+cp mitmproxy/dist/mitmproxy $DST
+
+$PYINST_CMD $MITMPROXY/mitmdump
+cp mitmdump/dist/mitmdump $DST
+
+cshape $MITMPROXY/doc-src $DST/doc