Debian Codegraph @

.github/downstream.d/twisted.sh

raw
1 #!/bin/bash -ex
2
3 case "${1}" in
4 install)
5 git clone --depth=1 https://github.com/twisted/twisted
6 cd twisted
7 git rev-parse HEAD
8 pip install ".[all_non_platform]"
9 ;;
10 run)
11 cd twisted
12 python -m twisted.trial -j4 src/twisted
13 ;;
14 *)
15 exit 1
16 ;;
17 esac