mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
22 lines
583 B
Bash
Executable file
22 lines
583 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
case "${1}" in
|
|
install)
|
|
git clone --depth=1 https://github.com/certbot/certbot
|
|
cd certbot
|
|
git rev-parse HEAD
|
|
tools/pip_install_editable.py ./acme[test]
|
|
tools/pip_install_editable.py ./certbot[test]
|
|
;;
|
|
run)
|
|
cd certbot
|
|
# Ignore some warnings for now since they're now automatically promoted
|
|
# to errors. We can probably remove this when acme gets split into
|
|
# its own repo
|
|
pytest -Wignore certbot/tests
|
|
pytest acme
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|