cryptography/.github/downstream.d/mitmproxy.sh
2021-10-05 08:38:42 -04:00

17 lines
302 B
Bash
Executable file

#!/bin/bash -ex
case "${1}" in
install)
git clone --depth=1 https://github.com/mitmproxy/mitmproxy
cd mitmproxy
git rev-parse HEAD
pip install -e ".[dev]"
;;
run)
cd mitmproxy
pytest test
;;
*)
exit 1
;;
esac