18 lines
330 B
Bash
Executable File
18 lines
330 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
case "${1}" in
|
|
install)
|
|
git clone --depth=1 https://github.com/twisted/twisted
|
|
cd twisted
|
|
git rev-parse HEAD
|
|
pip install -e ".[tls,conch,http2]"
|
|
;;
|
|
run)
|
|
cd twisted
|
|
python -m twisted.trial src/twisted
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|