18 lines
299 B
Bash
Executable File
18 lines
299 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
case "${1}" in
|
|
install)
|
|
git clone --depth=1 https://github.com/pyca/pyopenssl
|
|
cd pyopenssl
|
|
git rev-parse HEAD
|
|
pip install -e ".[test]"
|
|
;;
|
|
run)
|
|
cd pyopenssl
|
|
pytest tests
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|