aboutsummaryrefslogtreecommitdiffstats
path: root/release/osx-binaries
diff options
context:
space:
mode:
Diffstat (limited to 'release/osx-binaries')
-rwxr-xr-xrelease/osx-binaries11
1 files changed, 8 insertions, 3 deletions
diff --git a/release/osx-binaries b/release/osx-binaries
index 862ddd59..d2af5e18 100755
--- a/release/osx-binaries
+++ b/release/osx-binaries
@@ -4,12 +4,12 @@
# A few quirks to note, which should be re-checked every release:
# - We require the latest development version of PyInstaller.
-
-# To run, first install netlib and mitmproxy, then run
+
+# To run, first install netlib and mitmproxy, then run
#
# ./release/osx-binaries
#
-# From the top-level mitmproxy directory.
+# From the top-level mitmproxy directory.
usage ()
{
@@ -26,17 +26,22 @@ fi
TMPDIR=./tmp
PYINST_CMD=$1" -F --clean"
+CACHE="~/Library/Application Support/pyinstaller"
rm -f dist/*
rm -rf $TMPDIR
+rm -rf $CACHE
$PYINST_CMD ./release/mitmdump.spec
+echo "Running mitmdump..."
./dist/mitmdump --version || exit 1
$PYINST_CMD ./release/mitmproxy.spec
+echo "Running mitmproxy..."
./dist/mitmproxy --version || exit 1
$PYINST_CMD ./release/mitmweb.spec
+echo "Running mitmweb..."
./dist/mitmweb --version || exit 1
DST=osx-mitmproxy-`./dist/mitmdump --shortversion 2>&1`