mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
18 lines
361 B
Bash
Executable file
18 lines
361 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
case "${1}" in
|
|
install)
|
|
git clone --depth=1 https://github.com/secdev/scapy
|
|
cd scapy
|
|
git rev-parse HEAD
|
|
pip install tox
|
|
;;
|
|
run)
|
|
cd scapy
|
|
# this tox case uses sitepackages=true to use local cryptography
|
|
tox -qe cryptography
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|