diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2015-08-16 17:25:38 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2015-08-16 17:25:38 +1200 |
| commit | b1908e6639c9ced1ef8ce2e6d8d51a073e1ee89c (patch) | |
| tree | b6282d1de7ad73b248eca3d06ebbcdc19d645095 /osx-binaries | |
| parent | 5b957ac6583e60e2c0ecef0a44f60ecf44c17fad (diff) | |
| download | mitmproxy-b1908e6639c9ced1ef8ce2e6d8d51a073e1ee89c.tar.gz mitmproxy-b1908e6639c9ced1ef8ce2e6d8d51a073e1ee89c.tar.bz2 mitmproxy-b1908e6639c9ced1ef8ce2e6d8d51a073e1ee89c.zip | |
Updates
build -> rtool to avoid clashing with standard pyinstaller dirs
checklist updates
script adaptations
Diffstat (limited to 'osx-binaries')
| -rwxr-xr-x | osx-binaries | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/osx-binaries b/osx-binaries index 3cfe0913..657dbae9 100755 --- a/osx-binaries +++ b/osx-binaries @@ -7,10 +7,11 @@ # https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Setuptools-Entry-Point # Once this is fixed, we can ditch the redundant command scripts. -VENV=../venv.mitmproxy +VENV=./venv PYINST_CMD="$VENV/bin/pyinstaller -F --clean" TMPDIR=./tmp CACHE="~/Library/Application Support/pyinstaller" +MITMPROXY="../mitmproxy" if [ ! -d $VENV ] @@ -44,23 +45,23 @@ rm -f dist/* rm -rf $TMPDIR rm -rf $CACHE -$PYINST_CMD ./release/mitmdump.spec -echo "Running mitmdump..." -./dist/mitmdump --version || exit 1 +# $PYINST_CMD $MITMPROXY/release/mitmdump.spec +# echo "Running mitmdump..." +# ./dist/mitmdump --version || exit 1 -$PYINST_CMD ./release/mitmproxy.spec +$PYINST_CMD $MITMPROXY/release/mitmproxy.spec echo "Running mitmproxy..." ./dist/mitmproxy --version || exit 1 -$PYINST_CMD ./release/mitmweb.spec -echo "Running mitmweb..." -./dist/mitmweb --version || exit 1 +# $PYINST_CMD $MITMPROXY/release/mitmweb.spec +# echo "Running mitmweb..." +# ./dist/mitmweb --version || exit 1 -DST=osx-mitmproxy-`./dist/mitmdump --shortversion 2>&1` -mkdir -p $TMPDIR/$DST -cp ./dist/mitmproxy $TMPDIR/$DST -cp ./dist/mitmdump $TMPDIR/$DST -cshape ./doc-src $TMPDIR/$DST/doc - -cd $TMPDIR -tar -czvf $DST.tar.gz $DST +# DST=osx-mitmproxy-`./dist/mitmdump --shortversion 2>&1` +# mkdir -p $TMPDIR/$DST +# cp ./dist/mitmproxy $TMPDIR/$DST +# cp ./dist/mitmdump $TMPDIR/$DST +# cshape ./doc-src $TMPDIR/$DST/doc +# +# cd $TMPDIR +# tar -czvf $DST.tar.gz $DST |
